Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Not A Problem
-
1.7
-
None
-
None
-
Ubuntu
Description
When i try to run the below command I am getting error like below:
sudo java -jar /usr/share/java/batik-rasterizer-1.7.jar /var/www/html/image_name.svg
Exception in thread "main" java.security.AccessControlException: access denied ("java.util.PropertyPermission" "java.security.policy" "write")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.System.setProperty(System.java:783)
at org.apache.batik.util.ApplicationSecurityEnforcer.installSecurityManager(Unknown 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)