aspose file tools*
The moose likes Applets and the fly likes Error in lunching Applet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Applets
Bookmark "Error in lunching Applet" Watch "Error in lunching Applet" New topic
Author

Error in lunching Applet

Damayanti Samal
Greenhorn

Joined: Sep 09, 2008
Posts: 3
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.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.sdrc._metaphase.wcc.osservices.OSSShell.exec(OSSShell.java:124)
at com.sdrc._metaphase.wcc.osservices.OSSShell.execShellCmd(OSSShell.java:145)
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.execShellCmd(OSSWinShell.java:53)
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.initEnv(OSSWinShell.java:64)
at com.sdrc._metaphase.wcc.osservices.OSSShell.getOSSEnv(OSSShell.java:258)
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.getHomeDir(OSSWinShell.java:143)
at com.sdrc._metaphase.wcc.osservices.OSSServices.getHomeDir(OSSServices.java:237)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin.getAppDataDirectory(SharedLogin.java:865)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin.getCredentialsFileName(SharedLogin.java:831)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin._saveControllerURL(SharedLogin.java:729)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.save(SharedLoginApplet.java:413)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.access$700(SharedLoginApplet.java:33)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet$SharedLoginAppletRunnable.doRun(SharedLoginApplet.java:744)
at com.sdrc._metaphase.wcc.pluginsecurity.PSAppletRunnable12$1.run(PSAppletRunnable12.java:61)
at java.security.AccessController.doPrivileged(Native Method)
at com.sdrc._metaphase.wcc.pluginsecurity.PSAppletRunnable12.run(PSAppletRunnable12.java:55)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.exec(SharedLoginApplet.java:710)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.start(SharedLoginApplet.java:243)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

what need to set in java for lunch applets.
Norm Radder
Ranch Hand

Joined: Aug 10, 2005
Posts: 686
You need to give your applet permission.
Two ways:
sign its jar file
make an entry in the .java.policy file

Both have been discussed many times on the forum.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Error in lunching Applet