File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

Error in lunching Applet

Damayanti Samal

Joined: Sep 09, 2008
Posts: 3 access denied ( <<ALL FILES>> execute)
at Source)
at 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(
at com.sdrc._metaphase.wcc.osservices.OSSShell.execShellCmd(
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.execShellCmd(
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.initEnv(
at com.sdrc._metaphase.wcc.osservices.OSSShell.getOSSEnv(
at com.sdrc._metaphase.wcc.osservices.OSSWinShell.getHomeDir(
at com.sdrc._metaphase.wcc.osservices.OSSServices.getHomeDir(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin.getAppDataDirectory(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin.getCredentialsFileName(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLogin._saveControllerURL(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.access$700(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet$SharedLoginAppletRunnable.doRun(
at com.sdrc._metaphase.wcc.pluginsecurity.PSAppletRunnable12$
at Method)
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.exec(
at com.sdrc._metaphase.wcc.sharedlogin.SharedLoginApplet.start(
at Source)
at Source)

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

Joined: Aug 10, 2005
Posts: 691
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:
subject: Error in lunching Applet
jQuery in Action, 3rd edition