The Solution is to symlink CurrentJDK to the newer JDK.
cd /System/Library/Frameworks/JavaVM.framework/Versions (enter)
sudo rm Current (enter)
sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_27-b07-395.jdk/Contents Current (enter)
But as you can read the error log the symlink should end in Contents
I believe this is introduced by the "Java 6 update" by Apple software updates. target versions are Mac OSX 10.6.* or greater
Note that it is odd that Apple did not update the symlink themselves. It may be wise to restore the CurrentJDK symlink afterwards.
Source:
https://stackoverflow.com/questions/7180900/cant-install-netbeans-on-mac-os-10-7/9534386
Comments
Post a Comment