Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change from 1.4.1 to 1.4.2 in Runtime.exec

0 views
Skip to first unread message

mike

unread,
Dec 2, 2003, 4:51:32 PM12/2/03
to
I have a signed applet that needs to use Runtime.exec. In 1.1 and
1.4.1 this was not a problem. I have since upgraded to 1.4.2 and now
get the following exception:

java.security.AccessControlException: access denied
(java.io.FilePermission <<ALL FILES>> execute)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkExec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at java.lang.Runtime.exec(Unknown Source)

at com.taw.clients.util.ClientUtility.executeProgram(ClientUtility.java:106)

at com.taw.clients.util.ClientUtility.executeProgram(ClientUtility.java:101)

at com.taw.clients.objects.html.AgentLink.startProgram(AgentLink.java:276)

at com.taw.clients.objects.html.InteractionsLink.checkMessages(InteractionsLink.java:692)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)

at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)

at sun.plugin.com.DispatchImpl$2.run(Unknown Source)

at java.security.AccessController.doPrivileged(Native Method)

at sun.plugin.com.DispatchImpl.invoke(Unknown Source)


This exception would make sense except that I am able to read/write
files without any problems.

0 new messages