• 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
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • paul wheaton
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Tim Holloway
  • Carey Brown
  • salvin francis

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: 43011
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 totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
professionally read, modify and write PDF files from Java
https://products.aspose.com/pdf/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!