Hi, I have been stuck with this problem for a few days now and I can't seem to figure it out. I have created a program which works fine when launched from eclipse, but when i export it to a jar i get a noclassdeffounderror: org/apache/swing/svg/jsvgcomponent
I have tried different configurations of the manifest as well as placement of the jar file. I have gotten other errors with the other configurations including unable to locate the svg file (which was in the jar, i opened it with winrar to make sure) and a noclassdeffound:/batik/util/xmlresourcedescriptor my manifest file currently looks like this: Manifest-Version: 1.0 Main-Class: xxx.xxx.xxx.xx Class-Path: /lib/batik-anim.jar \ /lib/batik-awt-util.jar \ /lib/batik-bridge.jar \ /lib/batik-codec.jar \ /lib/batik-css.jar \ /lib/batik-dom.jar \ /lib/batik-ext.jar \ /lib/batik-extension.jar \ /lib/batik-gui-util.jar \ /lib/batik-gvt.jar \ /lib/batik-parser.jar \ /lib/batik-script.jar \ /lib/batik-svg-dom.jar \ /lib/batik-svggen.jar \ /lib/batik-swing.jar \ /lib/batik-transcoder.jar \ /lib/batik-util.jar \ /lib/batik-xml.jar \ /lib/js.jar \ /lib/pdf-transcoder.jar \ /lib/xalan-2.6.0.jar \ /lib/xerces_2_5_0.jar \ /lib/xml-apis.jar \ /lib/xml-apis-ext.jar I think that the current error is because the jar is not finding /lib/js.jar but that SHOULD be in the class path. My directory structure currently has the .jar at the top level with a lib folder in the same directory containing all the required jars. Any help is much appreciated. Thanks -- View this message in context: http://www.nabble.com/Trouble-running-jar-with-batik.-tp15189592p15189592.html Sent from the Batik - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
