Glenn Holmer <[EMAIL PROTECTED]> writes: > Starting the 10/12 Q-Build of NetBeans 3.3 (first beta is next week) > under Blackdown 1.3.0 or 1.3.1 JVM throws, and the main window never > opens. The Sun and IBM JVMs work fine. Any ideas?
> > Sat Oct 20 10:22:53 CDT 2001: java.lang.NoClassDefFoundError: > > java/awt/KeyEventPostProcessor java.lang.NoClassDefFoundError: > > java/awt/KeyEventPostProcessor [...] > > at >org.netbeans.core.windows.frames.NbFocusManager.install(NbFocusManager.java:69) The problem is here: ,----[ NbFocusManager.java[1] ] | public static synchronized void install () { | if (jdk12or13) { | [...] | } else if (!shortcutAndMenuKeyEventProcessorInstalled) { | [...] | } | } `---- jdk12or13 is defined as: ,----[ NbFocusManager.java ] | private static boolean jdk12or13 = | System.getProperty ("java.vm.version").startsWith ("1.2") // NOI18N | || System.getProperty ("java.vm.version").startsWith ("1.3"); // NOI18N `---- java.vm.version starts with 1.3 on Sun's and IBM's VMs but our VM has "Blackdown-1.3.1-FCS". So jdk12or13 is false on our VM and NetBeans tries to load a class which is new in J2SE v1.4. I think the test is broken, it should look at "java.version" and not at "java.vm.version". Unlike "java.vm.version", "java.version" is of the form <major>.<minor>.<micro> on all VMs. Juergen Footnotes: [1] http://www.netbeans.org/source/browse/core/src/org/netbeans/core/windows/frames/NbFocusManager.java?rev=1.10&content-type=text/x-cvsweb-markup -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux.html Run Java 2 SE v1.3.1 on your iPAQ: http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]