Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-08-2008, 05:32 PM
Member
 
Join Date: Jan 2008
Posts: 1
shibajisanyal is on a distinguished road
applet problem plz HELP
Hi all,



I have a problem when I am trying to run a jar file from an applet. The jar is for remote desktop application. Jrdp.jar.

And the Exception is……….



Exception in thread "Thread-6" java.security.AccessControlException: access denied (java.util.PropertyPermission gnu.posixly_correct read)

at java.security.AccessControlContext.checkPermission (Unknown Source)

at java.security.AccessController.checkPermission(Unk nown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPropertyAccess(Unkn own Source)

at java.lang.System.getProperty(Unknown Source)

at gnu.getopt.Getopt.<init>(Getopt.java:617)

at gnu.getopt.Getopt.<init>(Getopt.java:581)

at net.propero.rdp.Rdesktop.main(Rdesktop.java:290)

at net.propero.rdp.applet.RdpThread.run(RdpApplet.jav a:190)




can any one suggest me what I have to do???? Plz give your valuable suggestion in that matter. Should I have to do any thing in java.policy file. In that case what would be the syntax and what have allow. If possible plz help me out.



Thanking you,

With regards

Shibaji Sabyal
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 01-09-2008, 02:47 AM
roots's Avatar
Moderator
 
Join Date: Jan 2008
Location: Dallas
Posts: 251
roots is on a distinguished road
shibajisanyal,

Code:
gnu.getopt.Getopt.<init>(Getopt.java:617) Getopt.java ... 617 if (System.getProperty("gnu.posixly_correct", null) == null) 618 posixly_correct = false; 619 else
Your code is trying to access system property thus java security is blocking it
Atleast if you could sign your applet, Java will ask you if you trust the applet or not ..
.. Following links might help you ..

Chapter 10: Signed Applets
keytool-Key and Certificate Management Tool
__________________
dont worry newbie, we got you covered.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Serious applet problem willemjav Java Applets 1 03-25-2008 06:01 PM
IMPORTANT: Applet Problem Please Help! nvidia Java Applets 1 01-22-2008 03:25 AM
Problem Exporting a Jar as an Applet Hank Ag99 Eclipse 0 12-22-2007 10:22 PM
Problem with run Java Applet Albert Java Applets 1 07-13-2007 04:06 PM
Applet problem Ed Java Applets 2 07-02-2007 04:35 PM


All times are GMT +3. The time now is 07:46 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org