The Artima Developer Community
Sponsored Link

Java Answers Forum
novice question about threads: AccessControlException?

2 replies on 1 page. Most recent reply: Jun 10, 2002 2:57 AM by abhijeet

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
David Pinhasik

Posts: 1
Nickname: davidp
Registered: Jun, 2002

novice question about threads: AccessControlException? Posted: Jun 10, 2002 1:50 AM
Reply to this message Reply
Advertisement
Hi,
I am new to Java and to threads. I am running a working applet from "Thinking in Java" and receive the following exception:
"java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup )" - after trying to create an object from an inner class that inherits from Thread. It looks very straightforward, and I haven't changed anything. Any ideas?

Thanks for your help,
David


abhijeet

Posts: 21
Nickname: sony
Registered: May, 2002

Re: novice question about threads: AccessControlException? Posted: Jun 10, 2002 2:57 AM
Reply to this message Reply
Hi David,

You have to give permissions in your java.policy file.

abhijeet.

abhijeet

Posts: 21
Nickname: sony
Registered: May, 2002

Re: novice question about threads: AccessControlException? Posted: Jun 10, 2002 2:57 AM
Reply to this message Reply
Hi David,

You have to give permissions in your java.policy file.

abhijeet.

Flat View: This topic has 2 replies on 1 page
Topic: ON-LINE PROGRAM Previous Topic   Next Topic Topic: DYNAMIC BINDING

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use