I'm trying to upgrade to Java 7 on my 2010 macbook pro running OSX Lion. I downloaded jdk 7u15 and it goes through the entire install procedure flawlessly. However when I went to add it into Eclipse I found it was not under System/Library/Java/JavaVirtualMachines as was Java 6. I can't find it anywhere.
Asked
Active
Viewed 213 times
-1
-
This should be on http://apple.stackexchange.com/ – nwinkler Feb 23 '13 at 22:07
-
Issue with Java 7 installation on MAC : There are reports of vulnerability with Java 7 . Check out Xprotect.plist on your system. Checkout this discussion http://stackoverflow.com/questions/12757558/installed-java-7-on-mac-osx-but-terminal-is-still-using-version-6/14856370#14856370 – user1428716 Feb 23 '13 at 22:53
2 Answers
1
On Mountain Lion, mine is in /Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/

YosemiteMark
- 675
- 1
- 6
- 13
-
If this doesn't work, search the file system for a directory containing "jdk1.7". – Code-Apprentice Feb 23 '13 at 22:49
-
You should check Xprotect.plist on your system of the reported vulnerabilities – user1428716 Feb 23 '13 at 22:55
1
Use /usr/libexec/java_home -V
on a Mac to see all JDK versions installed. (JDK 7 versions reside normally under /Library/Java/JavaVirtualMachines
).

zagyi
- 17,223
- 4
- 51
- 48