You can’t use Java 9 , Android only supports till Java 8 . You should use the JDK version that comes with Android Studio, NO need for side alone JDK.
Read moreWhich JDK version should I use for Android Studio?
Set the JDK version A copy of the latest OpenJDK comes bundled with Android Studio 2.2 and higher , and this is the JDK version we recommend you use for your Android projects.
Read moreWhere is the JDK for Android Studio?
Set the JDK version Open your project in Android Studio and select File > Settings… > Build, Execution, Deployment > Build Tools > Gradle (Android Studio > Preferences… > Build, Execution, Deployment > Build Tools > Gradle on a Mac). Under Gradle JDK, choose the Embedded JDK option. Click OK.
Read moreWhere is the JDK for Android Studio?
Set the JDK version Open your project in Android Studio and select File > Settings… > Build, Execution, Deployment > Build Tools > Gradle (Android Studio > Preferences… > Build, Execution, Deployment > Build Tools > Gradle on a Mac). Under Gradle JDK, choose the Embedded JDK option. Click OK.
Read moreHow do I find my JDK path?
Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and in system variable try to find JAVA_HOME . This gives me the jdk folder.
Read moreHow do I find my JDK path?
Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and in system variable try to find JAVA_HOME . This gives me the jdk folder.
Read moreDoes Android Studio needs JDK?
The next piece of software for you to install is called Android Studio. This is an official text editor and integrated development environment (IDE) for developing Android apps. You must install Oracle JDK before installing Android Studio , so please don’t start this step until you have completed Step 1 above.
Read more