Skip to main content

Installing JDK7 Developer Preview on OS/X

Please note these forums are being decommissioned and use the new and improved forums at
No replies
Joined: 2011-10-18

Hi all,

I tried to install the new JDK 7 Develper Preview following the instructions here:

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:

Same for other Java applications (eg, JEdit).

Thanks in advance for any help.