>>>>> "MS" == Mikael Ståldal <[EMAIL PROTECTED]> writes:

MS> At 15:33 2002-01-30 -0500, Thomas E Deweese wrote:
>> It's not clear what your classpath is (environment var or what ever
>> they are called under windows), and it's not clear that you don't
>> have an old DOM impl in your jre/lib/ext dir.

MS> OK, I tried it again. My jre/lib/ext directory is empty, any the
MS> CLASSPATH environment variable is not set.

MS> C:\javaInstall>java -classpath
MS> batik/batik-rasterizer.jar;fop/fop.jar
MS> org.apache.batik.apps.rasterizer.Main batik/samples/batikLogo.svg

    I don't know for certain but I suspect that the jar file
'Class-Path' manifest directive adds the referenced jar files at the
end of the current class path.  So our DOM impl jar file ends up after
the fop jar.

    Try the following instead:

% java -classpath 
batik/batik-rasterizer.jar;batik/lib/batik-ext.jar;batik/lib/batik-dom.jar;batik/lib/batik-css.jar;batik/lib/batik-svg-dom.jar;batik/lib/batik-gvt.jar;batik/lib/batik-parser.jar;batik/lib/batik-script.jar;batik/lib/batik-bridge.jar;batik/lib/batik-transcoder.jar;batik/lib/batik-awt-util.jar;batik/lib/batik-util.jar;batik/lib/batik-xml.jar;batik/lib/crimson-parser.jar;batik/lib/js.jar;fop/fop.jar
 org.apache.batik.apps.rasterizer.Main batik/samples/batikLogo.svg

    You might also want to try the 'all-jar' build target to build
batik-all.jar which will include all the above (plus a bit more).
This would make your classpath more like your first one, but you would
still need some of the library jars in there.

java -classpath 
batik/batik-all.jar;batik/lib/crimson-parser.jar;batik/lib/js.jar;fop/fop.jar 
org.apache.batik.apps.rasterizer.Main batik/samples/batikLogo.svg

    Hope this helps...

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

Reply via email to