0

Just tried installing Android Studio and I got the error:

The environment variable JAVA_HOME (with the value of C:\Program Files\Java\jdk1.8.0_31\bin;) does not point to a valid JVM installation. What does this mean? I write java code everyday on eclipse and everything runs fine.

2 Answers2

0

This means that java is not setup in your windows path. Eclipse does not require this but many things do.

EDIT: here is the page on the java website explaining this in detail with instructions per OS: https://java.com/en/download/help/path.xml

Menachem Hornbacher
  • 2,080
  • 2
  • 24
  • 36
0

Check your system, Java and Android Studio all is same version like 32bit or 64bit. its may be your system is 64bit and your java is 32bit then it's install in C:\Program Files(x86)\Java\jdk1.8.0_31\bin and ur android studio is 64bit and its finding Java from C:\Program Files\Java\jdk1.8.0_31\bin so check your system, Java and Android Studio all is same like 32bit or 64bit

Jaydip
  • 592
  • 5
  • 27