File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes problem : NoClassFound Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem : NoClassFound Error" Watch "problem : NoClassFound Error" New topic

problem : NoClassFound Error

A raviprasad

Joined: Mar 12, 2001
Posts: 4
I am having problem running an applet present in a "A.JAR" file , this applet code calls few class present in "B.JAR" file.
I have put both the JAR files in the root dir of my http server and I am accessing the applet from a client machine.
I have mentioned the ARCHIVE tag in the *.html file and have put both the jar files within the quotes of ARCHIVE tag.
FYI: If i comment out the code which calls or instanciate objets of class present in B.jar file, ie if I use only A.jar it works fine.
Please let me know how to get out this hole. any help regarding this will be greatly appreciated.
David Freels
Ranch Hand

Joined: Feb 01, 2001
Posts: 102
Which browser are you using. Netscape has known bug when referencing multiple jar files.
A raviprasad

Joined: Mar 12, 2001
Posts: 4
I am using Internet Explorer ver 5.
the error seen in the status filed of the IE is
applet not initilized. ( sorry its not NoClass found error)
gautham kasinath
Ranch Hand

Joined: Dec 01, 2000
Posts: 583
Have u packaged the Applet class files.. Please do if u havent yet done..
Well I had a similar problem wen I was ref. Applet Jar file thru archive tag.. and the Class files were packaged but then the same wudnt come up although the classpath was set.. more over wen I gave the classfiles in a directory heirarchy as per the package and NOT as Jar it worked I wonder y?? I still havent resolved the praw yet..
Gautham Kasinath

"In the country of the blind, the one eyed man is the King"
Gautham Kasinath CV at :
I agree. Here's the link:
subject: problem : NoClassFound Error
jQuery in Action, 3rd edition