You will found a lot of jar-archives in the batik distribution. These archive must be 
included in your CLASSPATH.

Jan

-----Ursprungliche Nachricht-----
Von: M V [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 21. Marz 2003 16:20
An: [EMAIL PROTECTED]
Betreff: SaveAsJPEG compiles but throws exception on run


I'm having some trouble running the Batik sample SaveAsJPEG.java that I hope 
someone could help me figure out.

The file seems to compile fine, but when I run it I'm getting an error I 
can't track down.

C:\jdk1.3.1_03>javac SaveAsJPEG.java
C:\jdk1.3.1_03>java SaveAsJPEG SVGTest.svg
Exception in thread "main" java.lang.NoClassDefFoundError: 
org/apache/batik/transcoder/TranscoderSupport

Seems like I might be missing a jar on the classpath, but I'm not sure.

Thanks in advance!

OS: Win2k
JDK: 1.3.1_03
PATH: C:\jdk1.3.1_03\bin;C:\jdk1.3.1_03\batik-1.1.1\lib (snippet)

_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to