Though the Android Studio download completes, confirm which version of the JDK you have: open a command line and type javac -version. If the JDK is not available or the version is junior than 1.8, download the Java SE Development Kit 8.
To install Android Studio on Windows, continue the steps :
On some Windows systems, the launcher script does not catch where the JDK is installed. If you run into this problem, you need to set an environment variable showing the correct location
Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.8.0_77.
If you start Android application development on either of the following operating systems requirement
You can see in the following diagram .