Article View: borland.public.jbuilder.java.language
Article #18356Strange WTookit NoClassDefFound Error
From: Craig Patchett
Date: Wed, 01 Jul 1998 00:00
Date: Wed, 01 Jul 1998 00:00
27 lines
1837 bytes
1837 bytes
I just installed JBuilder 2.0 Pro and did a test build of an app I'm working on. When I try to run it from within JBuilder, I get the error shown below. I get this error regardless of the JVM I use, but I don't get it if I run the app from a DOS shell. Any ideas? Copyright (c) 1998 Borland International. All Rights Reserved. java.lang.NoClassDefFoundError: sun/awt/windows/WToolkit at java.awt.Toolkit.getDefaultToolkit(Compiled Code) at com.sun.java.swing.RepaintManager.<init>(RepaintManager.java:78) at com.sun.java.swing.RepaintManager.currentManager(RepaintManager.java:54) at com.sun.java.swing.JComponent.repaint(JComponent.java:2870) at com.sun.java.swing.JComponent.repaint(JComponent.java:2883) at com.sun.java.swing.JLayeredPane.setLayer(Compiled Code) at com.sun.java.swing.JLayeredPane.setLayer(JLayeredPane.java:305) at com.sun.java.swing.JLayeredPane.addImpl(JLayeredPane.java:205) at java.awt.Container.add(Container.java:219) at com.sun.java.swing.JRootPane.setContentPane(JRootPane.java:272) at com.sun.java.swing.JRootPane.<init>(JRootPane.java:185) at com.sun.java.swing.JFrame.createRootPane(JFrame.java:142) at com.sun.java.swing.JFrame.frameInit(JFrame.java:135) at com.sun.java.swing.JFrame.<init>(JFrame.java:116) ... (my app's classes below this point) Craig
Technical Details
Message-ID:
<6nedl5$s4v@news9.noc.netcom.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,9c3bbd70029bfa4d,start X-Google-Attributes: gidf74b3,public From: "Craig Patchett" <cpatchet@peregrine.com> Subject: Strange WTookit NoClassDefFound Error Date: 1998/07/01 Message-ID: <6nedl5$s4v@news9.noc.netcom.net> X-Deja-AN: 367898170 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Peregrine Systems, Inc. X-NETCOM-Date: Wed Jul 01 5:36:21 PM CDT 1998 Newsgroups: borland.public.jbuilder.java.language