• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java.lang.SecurityException: Bad applet class name

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic