I'm getting this error:
-------------------------------------------------------------------------------------------
No JVM installation 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.
------------------------------------------------------------------------------------------
when I try to launch Android Studio.
At the command line,
java -version outputs:
----------------------------------------------------------------------------------
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
----------------------------------------------------------------------------------
Does this mean the JDK is 64-bit?
I've been running java from the command line successfully for months.
My JAVA_HOME variable is
C:\Program Files (x86)\Java\jdk1.8.0_25
I double-checked that this is the correct location of the folder, and
my JAVA_HOME variable is in the same location as mentioned in the error.
I also have a jre1.8.0_45 folder at
C:\Program Files\Java\jre1.8.0_45
Which seems to be what java -version is referring to.
How can I be sure I have a 64-bit JDK?