问题
I ran echo %JAVA_HOME% to find my path. I know it is the wrong path but I am not sure how to fix it. Any help would be appreciated.
C:\Users\Cynthia>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_33\C:\Program Files\Java\jdk1.0.60_33\C:\Program Files\Java\jdk1.0.60_33\%JAVA_HOME%\bin\bin\bin
C:\Users\Cynthia>
回答1:
On windows, right-click "my computer" and choose "properties.
Go to: "advanced system settings" and then to "environment variables":
Then go over the variables and set %JAVA_HOME%:
like this:
Here's another helpful link
来源:https://stackoverflow.com/questions/11442330/i-am-trying-to-find-the-java-home-path