Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.SecurityException: Bad applet class name

 
SaiManasa Dasari
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am getting bad applet class name exception in my mac os x 10.6.8 while opening applets.Please help me how to resolve this?The below info i am getting in java console is
Java Plug-in 1.6.0_39
Using JRE version 1.6.0_39-b04-442-10M4008 Java HotSpot(TM) 64-Bit Server VM
exception: Bad applet class name.
java.lang.SecurityException: Bad applet class name
at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3056)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1497)
at java.lang.Thread.run(Thread.java:680)
Exception: java.lang.SecurityException: Bad applet class name
Ignored exception: java.lang.SecurityException: Bad applet class name

Please help me to resolve this and how to get work applets.
Thanks in advance.
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post the layout of the files and directories as well as the entire APPLET tag.
 
devikumar donthamsetti
Greenhorn
Posts: 4
Java PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

With Java 1.6.0_39, JRE's security is improved. And you can not load archives from local. And If you try so, It will throw the Security Exception.

You should use archive tag in applet code to resolve the issue.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic