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 173434 - Installer doesn't detect all JDKs on OSX
Summary: Installer doesn't detect all JDKs on OSX
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Platform (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 22:33 UTC by emi
Modified: 2009-10-01 10:07 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2009-09-30 22:33:36 UTC
Every time I install NetBeans it seems to pick up only JDK 5 (probably the default Java on OSX).

So, if I open my JDK 6-using projects, it always complains about the missing JDK 6 and I have to go and manually add it.

Now, the problem is this is something the installer could be easily doing. On OSX Java has a pretty standard path, and
it would be trivial to detect the JDKs present and add them to the Java Platforms list.
Comment 1 Tomas Zezula 2009-10-01 07:57:31 UTC
The java/platform is a java platform abstraction of the NetBeans Project System.
It has nothing to do with the installer.
Comment 2 dlipin 2009-10-01 10:01:34 UTC
The choice of JDK is now the responsibility of the launcher and it picks up the current JDK (at least, in the latest 
daily builds). 

So far I treat the issue as the *enhancement* for the *Java Platforms* dialog (Tools->Java Platforms): "it would be 
trivial to detect the JDKs present and add them to the Java Platforms list". Nothing about installer any more...

If java/platform is not the right component, please suggest one, I have no idea what is the right component for this 
issue.
Comment 3 Tomas Zezula 2009-10-01 10:07:08 UTC
When the installer does not handle platform any more it can be done in the java/platform.