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.

Bug 201108 - Cannot install on OSX Lion
Summary: Cannot install on OSX Lion
Status: RESOLVED DUPLICATE of bug 199399
Alias: None
Product: installer
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Yulia Novozhilova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-18 18:16 UTC by rthomson83
Modified: 2011-08-22 10:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rthomson83 2011-08-18 18:16:33 UTC
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?
Comment 1 Yulia Novozhilova 2011-08-19 11:44:04 UTC
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/
Comment 2 rthomson83 2011-08-19 17:36:34 UTC
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$
Comment 3 Yulia Novozhilova 2011-08-22 10:03:51 UTC
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 ***