Title: RE: os x help?

for jdk version, use:

        java -version

and for Batik start with:

        java -jar batik.jar

In your case however looks like jar is corrupted. It happens when the browser (if it is downloaded from the browser) doesn't recognize .jar as binary and therefore saves it as ascii. Try this:

        jar tvf batik.jar

If this complains, then you've got a problem with the jars you downloaded.

hth,
-Sumeet

> -----Original Message-----
> From: Joshua Alexander [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, November 25, 2003 4:54 AM
> To: [EMAIL PROTECTED]
> Subject: os x help?
>
>
> Hi folks,
>
> I'm not very experienced with Java, so I'd appreciate some help
> getting Batik to work. This is what I got:
>
> /Users/josha/xbuild 76% java -jar batik-rasterizer.jar
> ~/Desktop/test.svg
> Exception in thread "main" java.util.zip.ZipException: No such file
> or directory
>          at java.util.zip.ZipFile.open(Native Method)
>          at java.util.zip.ZipFile.<init>(ZipFile.java:112)
>          at java.util.jar.JarFile.<init>(JarFile.java:117)
>          at java.util.jar.JarFile.<init>(JarFile.java:55)
>
> I'm using OS X 10.2.6... not sure how to tell what my JDK version is.
> Anything else you need to know, just ask.
>
> -Josh
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

Reply via email to