The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

reply

Posted by Pavan Kumar Keely on June 27, 2001 at 6:19 AM

hi, I think you are JApplet,
try including the jar file "swingall.jar" in the applet tag( in the archive tag). This may solve your problem, if not please fell free to contact me at keelypavan@hotmail.com.

Pavan Kumar Keely
Memeber, Product Development Team, Quillis, India


> I have created a small applet under Windows and it seems
> to work fine with appletviewer. I upload it to my Unix
> box so that it will load from my web server and get the
> following error:

> Applet spsord error: java.lang.NoClassDefFoundError:
> javax/swing/JApplet

> I am assuming that because I don't have Java loaded
> on my Unix box for my web server that when it tries
> to invoke the applet it can't find the default Java
> classes.

> I am running an old version of Unix and have gotten
> Apache to run under it but I haven't found a version
> of Java to run under it so I'm not sure what to try
> next

> Thanks,

> Darin






Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us