Skip to main content

Installing JDK7 Developer Preview on OS/X

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
zakmck
Offline
Joined: 2011-10-18

Hi all,

I tried to install the new JDK 7 Develper Preview following the instructions here: http://jdk7.java.net/macportpreview/

However, it sounds strange that this procedure is correct, Java components are usually distributed in a number of places in OS/X:

22:17:22 $ cd /System/Library/Frameworks/JavaVM.framework/Versions/Current
22:17:24 $ ls
CodeResources@ Frameworks/ JavaPluginCocoa.bundle/ Resources/
Commands/ Headers/ JavaVM* _CodeSignature/
22:17:28 $

If I just copy the .jdk directory into /Library/Java/JavaVirtualMachines, Eclipse stops working, with this error: http://stackoverflow.com/questions/7669899/how-to-run-eclipse-indigo-on-...

Same for other Java applications (eg, JEdit).

Thanks in advance for any help.

Marco.