wood burning stoves*
The moose likes Applets and the fly likes AccessControlException (Linux) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "AccessControlException (Linux)" Watch "AccessControlException (Linux)" New topic

AccessControlException (Linux)

Kevin Jaffe

Joined: Jun 07, 2001
Posts: 15
I'm getting the error
java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)...
when I try to load an applet to Netscape 4.61 off one of my
subdirectories. The line that triggers the error is
new Thread(this).start();
The problem seems to have something to do with the location of
the class files, because I have no problem loading the applet
when the class files are in a subdirectory in the JDK
installation tree (/usr/local/jdk1.3.1). Also, the applet
performs fine if I run it using appletviewer, even off my
Can someone guess why I'm getting this error?
p.s. The full error message is:
java.security.AccessControlException: access denied (java.lang.RuntimePermission
at java.security.AccessControlContext.checkPermission(AccessControlConte
at java.security.AccessController.checkPermission(AccessController.java:
at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:139)
at java.lang.ThreadGroup.checkAccess(ThreadGroup.java:279)
at java.lang.Thread.init(Thread.java:265)
at java.lang.Thread.<init>(Thread.java:345)
at XYZApp.start(XYZApp.java:346)
at sun.applet.AppletPanel.run(AppletPanel.java:358)
at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127)
at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:1
at java.lang.Thread.run(Thread.java:484)
I agree. Here's the link: http://aspose.com/file-tools
subject: AccessControlException (Linux)
Similar Threads
Applet Jdbc Connection
RMI Server Connection Problem on XP prof
Signed Applet Works In Brower Not In Debugger
Start: Applet not initialized