Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • 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
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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.
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic