Reputation: 13
As mentioned in Question Title, I am unable to open Android Studio.
When I am trying to open it, below message is shown:
"The environment variable JAVA_HOME (with the value of
C:\Program Files\Java\jdk.1.8.0_31\bin;) does not point
to a valid JVM installation."
How can I solve this problem?
Upvotes: 1
Views: 489
Reputation: 3589
Your path variable for Java Installation is probably corrupt maybe due to a re-install or you didn't set it in the first place.
This can be easily fixed.
First install the latest version of JAVA SE from this webpage.
To set the temporary path of JDK (in windows), you need to follow following steps:
set path=*copied_path*
For Example:
set path=C:\Program Files\Java\jdkx.x.x_23\bin
where x.x.x are the jdk version related number
It is useful to set the PATH environment variable permanently so it will persist after rebooting. You can read more about how to do this over here: Set PATH and CLASSPATH
Upvotes: 0