LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-27-2004, 04:39 PM   #1
BobBuchanan
LQ Newbie
 
Registered: Aug 2003
Posts: 13

Rep: Reputation: 0
Error loading class message generated by applet


Hello,

I've been writing some simple Java applets using the free download of Borland's JBuilder X Foundation. I followed Borland's "GoodEvening" example in their documentation and I can run that applet and my own applets from within the development environment and also from my web browser (galeon). However, when I go to another computer to check out the applets, they don't run. The following messages appear in the Java console:

Microsoft (R) VM for Java, 5.0 Release 5.0.0.3810
==============================================
? help
c clear
f run finalizers
g garbage collect
m memory usage
q quit
t thread list
==============================================
Error loading class: powermodapplet.PowerModApplet
java.lang.NoClassDefFoundError
java.lang.ClassNotFoundException: powermodapplet.PowerModApplet
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/vm/loader/URLClassLoader.loadClass
at com/ms/applet/AppletPanel.securedClassLoad
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.processSentEvent
at com/ms/applet/AppletPanel.run
at java/lang/Thread.run

In the corresponding web page I have the following line in the arguments of the APPLET tag:

CODEBASE = "."
CODE = "powermodapplet.PowerModApplet.class"
ARCHIVE = "PowerModApplet.jar"

I used "jar tf" to see if the directory structure in my jar file is appropriate. It produced the following output:

# lots of stuff omitted for clarity
com/borland/jbcl/view/image/rollUR.gif
com/borland/product/ResIndex.class
com/borland/sql/SQLAdapter.class
powermodapplet/PowerModApplet.class
powermodapplet/PowerModApplet_buttonMod_actionAdapter.class

It didn't make any difference when I changed

CODE = "powermodapplet.PowerModApplet.class"

to

CODE = "powermodapplet/PowerModApplet.class"

Does anyone have ideas/suggestions I can try to get my applets working for people other than me?

Thanks,
Bob Buchanan
banach.millersville.edu/~bob/math478/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error loading operating system message with LILO Maverick1182 Linux - Newbie 1 07-29-2005 08:21 PM
Error message during audacity loading nightrider Linux - Newbie 2 07-16-2005 08:38 PM
hard drive grub loading error message drum Linux - Hardware 2 02-01-2005 02:02 AM
Error Message on Mandrake 9.1 loading devans Linux - Software 2 09-19-2003 05:47 AM
XMMS is not loading, error message inside. Seph64 Linux - Software 4 03-23-2003 11:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration