You must install Oracle JDK before installing Android Studio, so please don’t start this step until you have completed Step 1 above. Download Android Studio from the following address: Android Studio Download Page.
Read moreDo you need Java SDK?
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. So if you are using the newest version, you won’t need any additional JDK .
Read more