AW: [jdom-interest] JDOM and Applets

Bill Lober lober at
Mon Jun 26 09:20:37 PDT 2000

Another variation of the applet vs developer struggle?  I spent all 
yesterday working on what I think is the same problem.  My code snippit 
looks like this:

<APPLET  CODE = "JappletAppl.class" ARCHIVE = " IA9.jar, jdom-b4.jar, 
xerxes.jar" WIDTH = 100 HEIGHT = 80 >

The first part of the error I get is (from the Java 1.3 Plug-in console):

java.lang.NoClassDefFoundError: org/xml/sax/SAXNotRecognizedException
         at LoadJDOM.<init>(
         at LoadJDOM.<init>(
         at Annotations.loadIML1(
         at DAFrame.getFrame(

My code, of course, works fine in the development environment.

What, and where, is the openxml.jar file?  Is that the problem?

I'm not as familiar with jars, manifests, etc. so not sure where to go from 

Thanks for any help,


At 12:29 AM 6/23/2000, you wrote:
>JDOM and applets seem to work without problems.
>I generated compressed jar files with e.g. 'jar cf myappl.jar'.
>The applet tag looks like this:
>     CODE = "mypackage.MyClass"
>     ARCHIVE = "aelfred.jar,myappl.jar,jdom-b4.jar,openxml.jar,xerces.jar"
>     WIDTH = 400 HEIGHT = 300 >
>Håkan Arvidsson
>-----Ursprüngliche Nachricht-----
>Von: Vincent Vollers [mailto:tsunami at]
>Gesendet: Mittwoch, 21. Juni 2000 13:19
>An: jdom-interest at
>Betreff: [jdom-interest] JDOM and Applets
>Hi all,
>I'm trying to get JDOM to work in an applet,
>and it works fine in appletviewer, but whenever I try
>to run it in a browser, it all of sudden can't find
>it's resources. (in xerces.jar to be precise)
>but it still can't find it's classes when I repack
>both jdom and xerces in 1 jar file.
>(the file which it seems to be missing:
>is present in the .jar archive)
>or when I insert a manifest file in jdom.jar
>which points to xerces.jar.
>and when I use the java plugin, it says
>"applet not initialized" and keeps loading..
>and In all three cases it works fine in the appletviewer
>or when I try a test program and run it with
>Has anyone tried writing an applet which uses
>- Vincent Vollers
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the jdom-interest mailing list