Issue
I have installed JDK 1.0.7_25 and Android Studio bundle as instructed. After completing the installation when I tried to launch, I got the following error message:
Failed to load JVM DLL C:\Program Files\Java\jdk1.7.0_25\jre
If you already have a 32-bit JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables.
I have created a JAVA_HOME
variable as prescribed, but still getting the same error message. Now I'm a little frustrated about this. Please help me out. It will be very helpful if you can give me a step-by-step solution as I am new in this area.
Solution
As well as JAVA_HOME
which should be set to the jdk
directory e.g. C:\Program Files\Java\jdk1.7.0_21
you also have to add a path to the jdk
bin directory e.g. C:\Program Files\Java\jdk1.7.0_21\bin
.
As you already know how to set the JAVA_HOME
variable adding the extra directory to the path variable is just the same but you have to edit an existing variable and add the path separated by a semicolon e.g. add ;C:\Program Files\Java\jdk1.7.0_21\bin
to the end of the path. And then restart your PC, to start the Android Studio.
More details at: Getting Started With Android Studio
Answered By - Mike James
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.