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.
OS: OSX 10.4 JDK: 1.5.0_02 Just downloaded the 4.1 final release bundle for OSX with SJAS. Stepped through the installer with no trouble. I chose an alternate install path, but that didn't seem to be a problem. The installer summary page indicated: NetBeans IDE 4.1 installation location: /Applications/Development/NetBeans4.1.app Sun Java System Application Server 8.1_01 installation location: /Applications/Development/NetBeans4.1.app/Contents/Resources/NetBeans/SunAppServer8.1 The problem is, the SunAppServer8.1 directory does not exist. The rest of the installation was fine and worked with no difficulty, just no SJAS. -jason
Please send the installation logs (it is in the nb/_uninst dir) and list of your NetBeans4.1.app directory structure. Thanks
We did not test asbundle installer with Tiger. Could you check as-install.log file? It could contain error message from SJSAS installer.I just checked shell script used to install SJSAS and it seems it runs only on Darwin not on Tiger. There is explicit check at start. I will ask people from SJSAS.
Ah ok -- I think this fairly clearly states the problem. From as-install.log: (Fri May 13 06:29:50 EST 2005) Installing Appserver... Executing the following command: /Applications/Development/NetBeans4.1.app/_uninst/as_setup/setup -javahome /System/Library/ Frameworks/JavaVM.framework/Versions/1.5.0/Home -silent /Applications/Development/ NetBeans4.1.app/_uninst/as_setup/statefile Java Version Invalid, required version is 1.4.x. Please rerun with -javahome <valid jdk directory> exitcode = 0 (Fri May 13 06:29:51 EST 2005) Finished Installing Appserver8... Does SJAS truly not work with Java5?
this isn't good. At the very least the installer should warn the user and let him choose a different JDK. It's perfectly possible to have the IDE running on JDK 5 and App server on JDK 1.4.2
SJS AS installer does not run/support JDK 1.5 on Mac OS X. Solution could be for Mac OS X: 1.Message in JDK selection panel should explicitely say used needs JDK 1.4.2 not JDK 1.5 to install SJS AS. Without it installation will not continue. 2.List box containing available JDKs will show only JDK 1.4.2 not JDK 1.5. 3.Version of selected JDK must be verified (in case user selects JDK using Browse button).
Fixed in main trunk as suggested above. As JDKSelection Panel is shared among installers and we need specific behavior just for asbundle installer I had to add code to distinguish type of installer. Note: How do you run installer on JDK 1.5? If I upgrade to Mac OS X 10.4 JDK 1.4.2 is still current JDK (ie. if you run installer either from command line or from Finder it runs on current JDK). JDK 1.4.2 stays current JDK even after I installed JDK 1.5. Just curious how did you changed current JDK? (JDK customizer changed default JDK for applets and JNLP applications.) Modified: /cvs/installer/asbundle/scripts/as-macosx-install.template new revision: 1.4; previous revision: 1.3 /cvs/installer/asbundle/src/org/netbeans/installer/Bundle.properties new revision: 1.21; previous revision: 1.20 /cvs/installer/asbundle/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.8; previous revision: 1.7 /cvs/installer/coreide/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.7; previous revision: 1.6 /cvs/installer/jdkbundle/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.12; previous revision: 1.11 /cvs/installer/lib/src/org/netbeans/installer/JDKInfo.java new revision: 1.3; previous revision: 1.2 /cvs/installer/lib/src/org/netbeans/installer/JDKSearchAction.java new revision: 1.5; previous revision: 1.4 /cvs/installer/lib/src/org/netbeans/installer/JDKSelectionPanel.java new revision: 1.2; previous revision: 1.1 /cvs/installer/lib/src/org/netbeans/installer/JDKVersion.java new revision: 1.3; previous revision: 1.2 /cvs/installer/lib/src/org/netbeans/installer/Names.java new revision: 1.6; previous revision: 1.5 /cvs/installer/lib/src/org/netbeans/installer/Util.java new revision: 1.6; previous revision: 1.5
Fix is backported to branch 'release41': /cvs/installer/asbundle/scripts/as-macosx-install.template new revision: 1.2.6.1; previous revision: 1.2 /cvs/installer/asbundle/src/org/netbeans/installer/Bundle.properties new revision: 1.18.2.5; previous revision: 1.18.2.4 /cvs/installer/asbundle/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.5.4.1; previous revision: 1.5 /cvs/installer/coreide/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.2.4.1; previous revision: 1.2 /cvs/installer/jdkbundle/src/org/netbeans/installer/SetSystemPropertiesAction.java new revision: 1.9.4.1; previous revision: 1.9 /cvs/installer/lib/src/org/netbeans/installer/JDKInfo.java new revision: 1.2.6.1; previous revision: 1.2 /cvs/installer/lib/src/org/netbeans/installer/JDKSearchAction.java new revision: 1.4.4.1; previous revision: 1.4 /cvs/installer/lib/src/org/netbeans/installer/JDKSelectionPanel.java new revision: 1.1.18.1; previous revision: 1.1 /cvs/installer/lib/src/org/netbeans/installer/JDKVersion.java new revision: 1.2.6.1; previous revision: 1.2 /cvs/installer/lib/src/org/netbeans/installer/Names.java new revision: 1.6.2.1; previous revision: 1.6 /cvs/installer/lib/src/org/netbeans/installer/Util.java new revision: 1.5.2.1; previous revision: 1.5
Verified in nb4.2 build 200507061800