I had a similar problem recently that was caused by putting the batik library
files in the JRE extension directory. I could solve it by either removing the
library files from that directory or by putting the squiggle jar file in the
directory.

Check the mailing list archives for a message from me for more details.

G. Wade

Jakob Ilves wrote:

> Hello!
>
> I've read the FAQ and tried my best to search for an answer on the
> mailing list.
>
> I've downloaded Batik 1.5beta4b and unpacked it using jar.exe (from Sun
> JDK 1.4.0_02).  When I try to start the program using
>
> java -jar batik-squiggle.jar
>
> I get the splash screen but then I get
> java.Security.AccessControlException with a long stack trace (which
> unfortunately cannot be copied and pasted).  However, it seems like it
> fails to read the file batik-squiggle.jar, which is the file it read
> from the beginning to even start running the program.  So, the failure
> of reading don't seem to be on an operating level system but rather on a
> Java security level (but why...?).
>
> Reproducing this problem is dead easy, I only have to try once again to
> even start batik-squiggly.jar to see it reappear.
>
> I run Windows 2000, 5.00.2195, Service Pack 3.
>
> I've also tried out using a JRE 1.3.1 and JRE 1.3 with the same error
> appearing.  When using those versions of Java, I did not use jar for
> unpacking, simply because those JREs don't have jar.  Instead I used the
> Winzip which might or might not be a good idea.
>
> Sorry for being so extremely vague regarding the problem, I suspect
> something is wierd in my Java setup (but Java works for my other
> programs on the system...).  I managed to dig out some info from the
> mailing list, there's something called "policy file" which one can edit
> but when reading the install guide for batik, there's no hint about any
> such files.
>
> Another option is the classpath but the install guide neither says what
> to do with the classpath so I suppose that the classpath should not have
> to be touched.  On the other hand, when checking out "Start->Control
> Panel->System->Advanced->Environment Variables" the classpath variable
> is not listed.  That's a bit scary too.
>
> Frankly, this is embarrasing.  I've learned how to program Java (have
> very little practice, is by no means an expert) but when I run into this
> (presumely very basic) problem, I'm completely lost.
> .
> Any help is sincerely appreciated.
>
> Best Regards
>
> /IlvJa
>
> PS.  Why do I go through this?  Well, SVG appears to be the best thing
> since sliced bread (just reading the specification makes a graphics geek
> like me euphoric), and I'm on a quest for a SVG viewer which actually is
> able to generate SVG printouts which actually are usable.  Batik seems
> promising (I expect to get it running :eventually -).
> /DS.
>
>   ------------------------------------------------------------------------
> ---------------------------------------------------------------------
> 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