• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

java.lang.SecurityException: Bad applet class name

 
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.
 
Rancher
Posts: 43016
76
  • 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.
 
Greenhorn
Posts: 4
PHP Java
  • 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.
 
You know it is dark times when the trees riot. I think this tiny ad is their leader:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic