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;.

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

3 Answers 3

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .