Define Java Home Variable For Android Studio
Open sdk folder from e.
Define java home variable for android studio. Sets the location of the jdk with which to run android studio. First you need to test if you have java home variable defined. Right click on computer and choose properties.
But as per system requirements in this android developer website link. Sets the location of the jdk that android studio uses to start the gradle daemon. I download the java from the oracle website the downloaded file name is jdk 7u79 windows i586 and i changed variable value to c program files java jdk1 7 0 79 so the android studio started without any problem.
When you launch the ide it checks the studio jdk jdk home and java home environment variables in that order. You will find tools and platform tools folders inside sdk folder. When you launch the ide it first checks studio gradle jdk.
Right click my computer and select properties. Copy path of both these folders. This variable should be configured on all os s that have a java installation including windows ubuntu.
On the advanced tab select environment variables and then edit java home to point to where the jdk software is located for example c program files java jdk1 6 0 02. After resetting java home path please start 32 bit android studio in your computer here you go your android studio is successfully started. Here we explain a step by step solution for the same.
The java home environment variable points to the file system location where the jdk or jre was installed. After intalling the android studio on windows platform you might get the following error. E sdk tools and e sdk platform tools open environment variables dialog as described above locate path variable line under system variables table.