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 142520 - [MacOS] Installer should use Java6 for NetBeans/GlassFish configuration if it the default JDK
Summary: [MacOS] Installer should use Java6 for NetBeans/GlassFish configuration if it...
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: Mac Native (show other bugs)
Version: 6.x
Hardware: All Mac OS X
: P2 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-01 06:33 UTC by _ krystyna
Modified: 2008-08-05 16:40 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 _ krystyna 2008-08-01 06:33:20 UTC
NetBeans Installer Build 200807311401
MacPro 
JDK1.6

P2 because it should be fixed for FCS. 

Apple JDK1.6 is installed and symlink correctly set for CurrentJDK, so that /usr/bin/java points
correctly to 1.6.  It is not picked up by installer. About box shows 1.5 thouogh JDK1.6 can 
be selected as jdk in project properties for individual projects.


Have to manually edit netbeans.conf on Mac to adjust jdkhome for 1.6.
Comment 1 dlipin 2008-08-01 06:44:20 UTC
JDK5 has always been the default for all installations of NetBeans 6.x.
I haven`t heard that we should use JDK6 instead.
Comment 2 _ krystyna 2008-08-01 06:53:17 UTC
We should not hard code 1.5 if now 1.6 is available and used on 
some Mac systems. Apple finally shipped their JDK1.6 in early May 2008.
Comment 3 dlipin 2008-08-04 10:41:48 UTC
Unfortunately it is risky to fix in 6.5 Beta, so it would be fixed in development builds soon (targeting 6.5 RC/FCS).
Comment 4 Quality Engineering 2008-08-04 15:41:17 UTC
Integrated into 'main-golden', available in build *200808041401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/94e938151fbc
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Preparations for fixing #142520 : move get current JDK using get_current_jdk.sh script
Comment 5 dlipin 2008-08-04 17:23:00 UTC
Fixed in trunk, please verify on the next daily build (not beta).
Comment 6 Quality Engineering 2008-08-05 16:40:31 UTC
Integrated into 'main-golden', available in build *200808051401* on http://bits.netbeans.org/dev/nightly/
Changeset: http://hg.netbeans.org/main/rev/ffc4456daa90
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issue #142520 Installer should use Java6 for NetBeans/GlassFish configuration if it the default JDK