问题
I am Wondering how to find where java has downloaded on my windows 7 computer. I need to find it so I can make a 'JAVA_HOME'.
回答1:
Go to this location,if it exists,in your Windows 7 PC :-
C:\Program Files\Java\jdk1.8.0\bin\javac.exe // 64 bit system compatible JDK
OR
C:\Program Files(x86)\Java\jdk1.8.0\bin\javac.exe //32 bit system comaptible JDK
If this location shows you the "javac.exe" application, then JDK has been successfully installed in your system. And, you can set up your environment variable to point to the JDK location as
'JAVA_HOME'=C:\Program Files\Java\jdk1.8.0 // as shown in my system!
回答2:
- Go to "Control Panel"->"Java"
- Select "Java" Tab
- Click on "view"
- You will see your installed Java version with path
来源:https://stackoverflow.com/questions/24174906/how-do-i-find-where-java-is-downloaded-on-a-windows-7-computer