🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18360

Re: Strange WTookit NoClassDefFound Error

#18360
From: Richard Wilkman
Date: Thu, 02 Jul 1998 00:00
53 lines
2721 bytes
Craig:

It sounds like one of the libraries referenced in the project has an
instance of classes.zip or some other JDK in some other location. 
That would happen if you had added it in the old project since we do a
literal translation from 1.0 to 2.0 for the classpath.

-Rich

Craig Patchett wrote:
> 
> 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

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <359BA8F7.7964AD85@inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6nedl5$s4v@news9.noc.netcom.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9c3bbd70029bfa4d
X-Google-Attributes: gidf74b3,public
From: Richard Wilkman <rwilkman@inprise.com>
Subject: Re: Strange WTookit NoClassDefFound Error
Date: 1998/07/02
Message-ID: <359BA8F7.7964AD85@inprise.com>
X-Deja-AN: 368110075
Content-Transfer-Encoding: 7bit
References: <6nedl5$s4v@news9.noc.netcom.net>
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language