First of all, I know that this question has been asked before maybe more than once, like this one for instance Android Studio - No JVM Installation found but i couldn't know the path that i have to refered to.
i already installed jdk-8u31-windows-x64
and i am working on windows 7 64 bit
, when i open Android Studio, i got message:
it seems obvious that i should add a JAVA_HOME
system variable, but what is the value of that variable?
after installing jdk-8u31-windows-x64
, i found this folder on my computer
C:\Program Files (x86)\Java\jre1.8.0_31
, should I refered to it? or to the bin inside it? or should I install other stuff?
Note 1:
when I type java -version
on my cmd, I got this:
java version "1.8.0_31"
Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)
Note 2:
Yesterday I formatted my laptop and installed the latest version of java from the official website of java