windows_java

 

 

 


 

 

 


Troubleshoot

 

[1]

"Cannot determine a valid Java Home"

Under “System variables” click the “New…” button and enter JAVA_HOME as “Variable name”

and the path to your Java JRE directory under “Variable value” (C:\Program Files\Java\jre1.8.0_181)

PATH 的尾加入 "%JAVA_HOME%\bin"

Checking

java.exe -version

java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)

[2]