Hello Michael,

this should work, if you put the batik .jar files to the same directory
where your java-application resides:

java -classpath
"your.java-app.jar;batik-svggen.jar;batik-svg-dom.jar;batik-dom.jar;batik-ex
t.jar;batik-xml.jar;batik-util.jar;batik-awt-util.jar"
your.java-app.main.class

Best regards,
Maik

----- Original Message ----- 
From: "Michael Peregrin PREISEL" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, February 15, 2004 10:42 PM
Subject: Where do I have to put the .jar-Archives


> Hello!
>
> I use Win XP and the Java SDK 1.4. I want to test creating a .svg using
> the generator. I'm rather new to Java and until now I've never used
> SDK-foreign packages. For example, if I have an application using:
>
> *****
>
> import java.awt.*;
> import java.awt.event.*;
> import java.io.Writer;
> import java.io.OutputStreamWriter;
> import java.io.IOException;
> import org.apache.batik.svggen.SVGGraphics2D;
> import org.apache.batik.dom.GenericDOMImplementation;
> import org.w3c.dom.Document;
> import org.w3c.dom.DOMImplementation;
>
> *****
>
> ...there are several packages taken from batik. But I only have the
> downloaded .jar files like:
>
> js.jar, batik-awt-util.jar, batik-bridge.jar, ..... and so on.
>
> Copying them to the lib-directory of the SDK doesnt work. I get error
> messages like these:
>
> TestSVGGen.java:6: package org.apache.batik.svggen does not exist
>
> Can you help me, please (after searching in many tutorials I've not
> found out, how the application could find the packages, I'm sure, it's
> just too easy to explain, but I don't know!)?
>
> Thanks, Peregrin.
>
>
>
> ---------------------------------------------------------------------
> 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