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.
Build 3.6 RC2 (showstopper) Install NetBeans on machine with JDK 1.3.1_07 (or older) only. When you go to the J2SE Selection Panel, it is skipped and redirected to the Directory Selection Panel. As a result you can install NetBeans on a machine with no valid J2SDK. There's "null" parameter in the JDKHOME variable in ide.cfg. REASON: It is caused by using 1.4 swing method: javax.swing.JComponent.requestFocusInWindow in class JDKSelectionPanel, line 206. Using unsupported method requestFocusInWindow throws exception which is caught and ignored. SOLUTION: 1) Exclude 1.3.x JVMs from supported JVM list in ISMP project. 2) Catch this error and ignore it on a higher level and/or provide alternative 1.3.x code. I'd prefer (2), but it depends on fix complexity and other possible code breaks.
Created attachment 14235 [details] Debug log (installer.jar with parameter -Dis.debug=1 log)
Replaced requestFocusInWindow method with requestFocus.
Verified in "pre RC3" build 200404050850 release36 branch.
Created attachment 14286 [details] code diff