SecurityException: Bad applet class name after upgrade to JRE version 1.7.0_13

After upgrading to JRE 1.7.0_13, my Applet no longer starts. I am getting the following security exception:

basic: Fortschritts-Listener hinzugefügt: sun.plugin.util.ProgressMonitorAdapter@25a091
basic: Ausnahme: Bad applet class name.
ExitException[ 3]java.lang.SecurityException: Bad applet class name
    at sun.plugin2.applet.Plugin2Manager.initAppletAdapter(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
basic: Fortschritts-Listener entfernt: sun.plugin.util.ProgressMonitorAdapter@25a091

      

It's hard to tell that the applet is not downloaded from the web server, but installed in the JRE lib / ext directory.

I think the "bad applet class name" was introduced since _013 because I couldn't find any information about it. The post does not give me any hint of what needs to be changed.

Following is the insertion of an applet on a web page.

<embed table="some param" anzahl="506" 
    type="application/x-java-applet" 
    code="ArtefakteApplet.class" 
    name="artefakteApplet" 
    id="artefakteApplet" 
    height="550" width="1020">

      

Does anyone know what to do?

+3


source to share


1 answer


.. installed in the JRE lib / ext directory.

Do not do this. The sun has warned us that many years before Oracle bought them.



Does anyone know what to do?

The first thing to do is move the applet from this location to a public, accessible directory and try again. Also, don't use the element embed

. deployJava.js

suggested as a reliable way to insert an applet.

0


source







All Articles