SecurityException异常:升级到JRE 1.7.0_13后坏Applet类名 [英] SecurityException: Bad applet class name after upgrade to JRE 1.7.0_13

查看:765
本文介绍了SecurityException异常:升级到JRE 1.7.0_13后坏Applet类名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

升级到JRE 1.7.0_13后,我的小程序不再运行。我得到以下安全异常:

 基本:Fortschritts监听hinzugefügt:sun.plugin.util.ProgressMonitorAdapter@25a091
基本:Ausnahme:不良Applet类名称。
ExitException [3] java.lang.SecurityException异常:错误的小程序的类名
    在sun.plugin2.applet.Plugin2Manager.initAppletAdapter(来源不明)
    在sun.plugin2.applet.Plugin2Manager $ AppletExecutionRunnable.run(来源不明)
    在java.lang.Thread.run(来源不明)
基本:Fortschritts监听entfernt:sun.plugin.util.ProgressMonitorAdapter@25a091

棘手的事情是小程序不是从Web服务器加载,但安装在JRE的lib / ext目录。

我觉得坏Applet类名称'已经推出了具有_013因为我没有找到关于它的任何信息。该消息并没有给我什么改变任何暗示。

以下是在网页中的小程序的嵌入

 <嵌入表=一些参数anzahl =506
    类型=应用程序/ x-j​​ava的小程序
    code =ArtefakteApplet.class
    NAME =artefakteApplet
    ID =artefakteApplet
    高度=550的宽度=1020>

任何人一个想法是什么呢?


解决方案

  

..安装在JRE的lib / ext目录。


不要那样做。太阳警告我们不要对年前甲骨文收购他们。


  

任何人一个想法是什么呢?


做的第一件事情就是摆脱该位置的小程序公开,方便目录,并再次尝试。另外,不要使用嵌入元素。 deployJava.js 是提供的可靠的方式嵌入一个applet。

After upgrading to JRE 1.7.0_13 my Applet is not running anymore. I get 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

The tricky thing is the applet is not loaded from the webserver but installed in JRE lib/ext directory.

I think 'Bad applet class name' has been introduced with _013 because I don't find any information about it. The message does not give me any hint about what to change.

Below is the embedding of the applet in the Web page.

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

Anybody an idea what to do?

解决方案

..installed in JRE lib/ext directory.

Don't do that. Sun warned us not to for years before Oracle bought them.

Anybody an idea what to do?

The first thing to do is move the applet from that location to a public, accessible directory and try it again. Also, don't use the embed element. deployJava.js is offered as the reliable way to embed an applet.

这篇关于SecurityException异常:升级到JRE 1.7.0_13后坏Applet类名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆