I'm trying to set the JAVA_HOME
environment variable - I need to set it to the 64 bit version.
To make sure I have the 64 bit version, I checked java -version
by the cmd prompt, and got the output:
Java version "1.7.0_25"
Java<TM> SE Runtime Environment <build 1.7.0_25-b17>
Java Hotspot<TM> 64-bit Server VM <build 23.25-b01, mixed mode>
I'm assuming the last line verifies I have 64-bit... so I went to check the exact path to type into the environment variable, and found that Program Files\Java\
does not contain a jdk
folder. However, Program Files (x86)\Java\
does. Instead, the former only has a jre7
folder.
I can't direct my environment variable to the 32-bit folder because Android Studio
keeps telling me that I need 64-bit java. What am I missing?
(If this belongs on SuperUser and not here, just comment below and i'll delete the question here)
I think you are looking at JRE
type
javac -version
in your command line