Hi Gergely,

Gergely Hajdu wrote:

http://xml.apache.org/batik/svgrasterizer.html

which looks like :
java -jar batik-rasterizer.jar -d myDir -m image/jpeg samples/*.svg
that generates JPEG images for all the SVG files found in the samples
directory.

But I got the following exception :
java.security.AccessControlException: access denied
(java.util.PropertyPermission java.security.policy write)
at

I've never seen this problem before. It seems like something is not granting the Application 'full' permissions. Do you know if someone has adjusted the default permissions for the JDK you are using?

java.security.AccessControlContext.checkPermission(AccessControlContext.java
:267)
at java.security.AccessController.checkPermission(AccessController.java:394)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:540)
at java.lang.System.setProperty(System.java:636)
at
org.apache.batik.util.ApplicationSecurityEnforcer.installSecurityManager(Unk
nown Source)
at org.apache.batik.util.ApplicationSecurityEnforcer.enforceSecurity(Unknown
Source)
at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source)
at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
Exception in thread "main"
Any ideas how to correct this ?
Thanks in advance.
/Gergely



---------------------------------------------------------------------
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