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.
The installer reports that it cannot find the java 6 framework on my mac running osx lion. I definitely have java 6 se installed and can verify that with the terminal commands. The prerequisite must need to look in a different place in Lion?
How did you install the java 6? Did you install java 6 for Lion: http://support.apple.com/kb/DL1421 ? Please also attach here the output of the following commands: > ls -la /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents > ls -la /System/Library/Frameworks/JavaVM.framework/Versions/
I installed the developer preview from apple. This could be what is causing the issue. The output from thjs terminal as requested was: Last login: Fri Aug 19 18:30:16 on ttys000 Robert-Thomsons-Mac-Pro:~ RThomson$ ls -la /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents ls: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents: No such file or directory Robert-Thomsons-Mac-Pro:~ RThomson$ ls -la /System/Library/Frameworks/JavaVM.framework/Versions/ total 64 drwxr-xr-x 11 root wheel 374 18 Aug 17:39 . drwxr-xr-x 11 root wheel 374 18 Aug 17:39 .. lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.4 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.4.2 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.5 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.5.0 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.6 -> CurrentJDK lrwxr-xr-x 1 root wheel 10 18 Aug 17:39 1.6.0 -> CurrentJDK drwxr-xr-x 8 root wheel 272 18 Aug 17:39 A lrwxr-xr-x 1 root wheel 1 18 Aug 17:39 Current -> A lrwxr-xr-x 1 root wheel 59 18 Aug 17:39 CurrentJDK -> /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents Robert-Thomsons-Mac-Pro:~ RThomson$
After a proper Java 6 installation on Lion the folder "/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents" should exist. 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 *** This bug has been marked as a duplicate of bug 199399 ***