Runtime.exec() for an applet

I have a java program that runs another program using Runtime.getRuntime().exec (cmd1, envArr, f);

now I want to turn my program to an applet, and this command causes an exception:

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

How can I write this command for an applet?

[360 byte] By [LeaTsabana] at [2007-11-27 10:04:51]
# 1
We don't usually want applets to run any programs or do any other possibly harmless things. You can sign your applet or give additional rights through the policy file.Google those up if you really think your applet needs to run programs.
-Kayaman-a at 2007-7-13 0:39:48 > top of Java-index,Java Essentials,Java Programming...