When trying to run Android Studio on my computer, I get the following error:
The Environment variable JAVA_HOME (with a value of C:\Program Files(x86)\Java\jdk1.7.0_51\bin) does not point to a valid JVM installation
I tried to remove the \bin
extension on my JAVA_HOME
environment variable, but it gives me the following error:
No JVM Found. Please install a 64-bit JDK. If you already have a JDK installed, define a JAVA_HOME variable in Computer > System Properties > System Settings > Environment Variables
The environment variable JAVA_HOME does not point to a valid JVM installation. JAVA_HOME should be set to the root of your Java installation. or add this value to the system environment variables. See What are PATH and other environment variables, and how can I set or use them? for more information.
Set JAVA_HOME: Right click My Computer and select Properties. On the Advanced tab, select Environment Variables, and then edit JAVA_HOME to point to where the JDK software is located, for example, C:\Program Files\Java\jdk1. 6.0_02.
If you start 64bit Android Studio, you have to add JAVA_HOME as
"C:\Program Files\Java\jdk..."
If 32bit
"C:\Program Files(x86)\Java\jdk..."
and dont put "\bin" end of the path.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With