This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Applets and the fly likes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Applets
Bookmark "" Watch "" New topic

M K Rayapudi
Ranch Hand

Joined: Feb 19, 2007
Posts: 160
I am invoking an applet from an HTML file, but I am getting the below exception: access denied (java.lang.RuntimePermission accessClassInPackage.sun.plugin.javascript)

the applet class code (, which is throwing the above exception is as follows:the applet tag in my HTML page looks as follows:
where JavaSocketBridge.jar contains JavaSocketBridge.class, all the jar files are signed.

Can you please let me know where I am doing wrong?
Thank you,

Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
You may have to run the code as "privileged":
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
It's not a secret anymore!