I just downloaded the Android Studio. While trying to run it, I had to modify the environment variable and add
JAVA_HOME
and
<Recently I am working with the 1.8.0_25 JDK version on Windows 8.1 and I had the same problem with this. But as PankaJ Jakhar said
The real solution for me was pretty simple:
The path I introduced for this variable was:
C:\Program Files\Java\jdk1.8.0_25\
And it works for me!
Follow @abs solution
If you still continue to get the error even after setting the JAVA_HOME variable Copy the studio folder to your C drive and then run the studio.exe or studio64.exe depending upon your java versio
i think you are doing every thing fine just remove ";" from the last of java_home variable. every thing will work fine.
Point your JAVA_HOME
variable to C:\Program Files\Java\jdk1.8.0_xx\
where "xx" is the update number (make sure this matches your actual directory name). Do not include bin\javaw.exe
in the pathname.
NOTE: You can access the Environment Variables GUI from the CLI by entering rundll32 sysdm.cpl,EditEnvironmentVariables
. Be sure to put the 'JAVA_HOME' path variable in the System variables
rather than the user variables. If the path variable is in User
the Android Studio will not find the path.
It is absolutely possible that all other answers work for people but for me this path worked:
Leave your JDK path under JAVA_HOME
System Variable as it is given here. Do not append bin or another path. It worked for me.
C:\Program Files\Java\jdk1.8.0_11\
Otherwise I am getting this error:
Installing Android Studio, does not point to a valid JVM installation error
2 suggested solutions
Upgrade JDK to 1.7
Make sure the 32-bit or 64 bit versions match on both sides