This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 108889 [details] The mentioned error message The Instaler displays a message stating the IDE can be installed only on a Java 6 capable machine... I know that Lion is preview but i just tend to try the newer versions.. as I was also using Beta versions of Netbeans :)
For me symbolic link pointed to oblivion sudo ln -s /Library/Java/JavaVirtualMachines/1.6.0_26-b03-383.jdk /System/Library/Java/JavaVirtualMachines/1.6.0.jdk fixed things for me. Don't know if its an netbeans installer specific problem. Previously had 6.8 installed which stopped working after upgrade.
Could you please post here the output of the command: > ls -la /System/Library/Frameworks/JavaVM.framework/Versions/ Thanks in advance.
I had the same problem, suggested fix in snaebten@netbeans.org's comment fixed it. posting the output of ls: xxxxxx-MacBook-Pro:~ xxx$ ls -la /System/Library/Frameworks/JavaVM.framework/Versions/ total 64 drwxr-xr-x 11 root wheel 374 23 Jul 11:32 . drwxr-xr-x 10 root wheel 340 23 Jul 11:32 .. lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.4 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.4.2 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.5 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.5.0 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.6 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 23 Jul 11:31 1.6.0 -> CurrentJDK drwxr-xr-x 7 root wheel 238 23 Jul 11:32 A lrwxr-xr-x 1 root wheel 1 23 Jul 11:31 Current -> A lrwxr-xr-x 1 root wheel 59 23 Jul 11:31 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents
Thanks! How did you install Java 6 on your Mac? Did you use Java installer for Lion?
The same problem here except that symlink trick from snaebten@netbeans.org did not worked. Output of ls -la /System/Library/Frameworks/JavaVM.framework/Versions/ is same as in jnaO@netbeans.org's comment. Java downloaded from Apple developer center, directly for Lion. Any suggestions?
hi i had the same problem but i fix it try download java6 install it and netbeans run without problem Java6 download for mac osx 10.7 lion http://mac.softpedia.com/get/System-Utilities/Java.shtml
Since OS X Lion does not provide a Java runtime by default, please download and install Java for OS X Lion before installing NetBeans. http://support.apple.com/kb/DL1421 The error message is corrected to point the user to the http://support.apple.com/downloads to download Java 6 for every Mac OS X version. http://hg.netbeans.org/core-main/rev/dd5bc0aa9155 Please feel free to reopen in case if you still have troubles after installing appropriate Java. Thank you.
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/dd5bc0aa9155 User: Yulia Novozhilova <ynov@netbeans.org> Log: Fix #199399 - Cannot install on Mac OS X Lion Dev Preview 4 (10.7); Update properties for generation of bundled jre
*** Bug 201108 has been marked as a duplicate of this bug. ***