0

When I start Android Studio, I get this error:

The environment variable JAVA_HOME does not point to a valid JVM installation.

My JAVA_HOME environment variable is set to C:\Program Files\Java\jdk1.8.0_60\bin;.

  • You need to install Java 8 JDK it currently isn't installed on the system – Ramhound Jan 10 '16 at 17:38
1

Remove the semicolon from the end of the JAVA_HOME environment variable. That variable can only point to one place; it's not like PATH which separates folders with semicolons.

You also need to remove the bin part; the variable should point to the root of the JDK installation.

0

I dont use system environment in my configurations.

In User variables set JAVA_HOME = C:\Program Files\Java\jdk1.8.0_65

In User variables set JDK_HOME = C:\Program Files\Java\jdk1.8.0_65\bin

In User variables add current PATH = %JDK_HOME%;%JAVA_HOME%;..your current path..

There is no path about java in system variables...

I solved this problem like this.

0

You will have to set JAVA_HOME under System variables instead of adding it User variables This has worked for me.

protected by Community Feb 8 '17 at 14:39

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.