“应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet

时间:2022-08-23 05:01:08

Background

Complete fresh installation of Oracle Java SDK (32-bit) on Linux. The installation is correct, the plugin is correctly installed.

在Linux上完成Oracle Java SDK(32位)的新安装。安装正确,插件安装正确。

Problem

The following error ("Application Blocked by Security Settings") appears when the applet runs inside Firefox:

当applet在Firefox中运行时,会出现以下错误(“应用程序被安全设置屏蔽”):

“应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet

Setup

Here are the steps I used:

以下是我使用的步骤:

  1. Installed Linux mint 16 on VBox: > uname -a Linux me-VirtualBox 3.11.0-12-generic #19-Ubuntu SMP Wed Oct 9 16:12:00 UTC 2013 i686 i686 i686 GNU/Linux
  2. 在VBox上安装了Linux mint 16: > uname -a Linux me-VirtualBox 3.11.0-12通用#19-Ubuntu SMP 2013年10月9日16:12:00 UTC 2013 i686 i686 i686 GNU/Linux
  3. Cleaned all Java instances.
  4. 清洗所有的Java实例。
  5. Followed instructions to install jdk-7u51-linux-i586.tar.gz on Linux.
  6. 按照说明安装jdk-7u51-linux-i586.tar。在Linux上广州。
  7. Verified installation > java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Client VM (build 24.51-b03, mixed mode)
  8. java版本“1.7.0_51”java (TM) SE运行时环境(构建1.7.0_51-b13) java HotSpot(构建24.51-b03混合模式)
  9. Verified plugin: > pwd /home/me/.mozilla/plugins > ls -l total 0 lrwxrwxrwx 1 me me 46 Jan 22 02:42 libnpjp2.so -> /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libnpjp2.so
  10. 验证插件:> pwd /home/me/。mozilla/插件> ls -l total 0 lrwxrwxrwx 1 me 46 Jan 22 02:42 libnpjp2。所以- > /usr/lib/jvm/jdk1.7.0/jre/lib/i386/libnpjp2.so
  11. Verified Java plugin: “应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet
  12. 验证Java插件:
  13. Verified Firefox activation: “应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet“应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet
  14. Firefox激活验证:
  15. Started the Java ControlPanel; set security to Medium: “应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet“应用程序被安全设置阻止”防止在Linux mint上的firefox上使用oracle SE 7 update 51运行applet
  16. Java ControlPanel开始;安全设置为媒介:
  17. Clicked Apply.
  18. 点击申请。
  19. Restarted Firefox.
  20. 重启Firefox。

Question

How do you change the security settings to allow the applet to run?

如何更改安全设置以允许applet运行?

6 个解决方案

#1


12  

I had this issue. The security settings in the ControlPanel seem to be user specific. Try running it as the user you are actually running your browser as (you are not browsing as root!??) and setting the security level to Medium there. - For me, that did it.

我有这个问题。ControlPanel中的安全设置似乎是特定于用户的。尝试以实际运行浏览器的用户的身份运行它(不是以root用户身份浏览),并将安全性级别设置为中等。-对我来说,就是这样。

#2


15  

As an alternative answer, there's a command line to invoke directly the Control Panel, which is javaws -viewer, should work for both openJDK and Oracle's JDK (thanks @Nasser for checking the availability in Oracle's JDK)

作为另一种解决方案,有一条命令行可以直接调用控制面板(即java aws -viewer),它应该同时适用于openJDK和Oracle的JDK(感谢@Nasser检查Oracle的JDK中的可用性)。

Same caution to run as the user you need to access permissions with applies.

与需要访问权限的用户一样,要使用同样的警告。

#3


4  

$pwd /usr/lib/jvm/jre1.8.0_25/bin

$ pwd /usr/lib/jvm/jre1.8.0_25 / bin

./jcontrol

。/ jcontrol

as follow,

遵循,

java Control Panel --> Security --> Edit Site list ,
then apply, and ok.

java Control Panel——> Security——>编辑站点列表,然后应用,ok。

#4


1  

The application that you are running is blocked because the application does not comply with security guidelines implemented in Java 7 Update 51

您正在运行的应用程序被阻塞,因为应用程序不符合Java 7 Update 51中实现的安全指导原则

#5


1  

You can also use Edit Site List and make it be an exception so that you can run it from the specific website.

您还可以使用编辑站点列表,并使它成为一个异常,以便您可以在特定的网站上运行它。

#6


-2  

Just start your browser with superuser rights, and don't forget to set Java's JRE security to medium.

只要用超级用户权限启动浏览器,不要忘记将Java的JRE安全性设置为medium。

#1


12  

I had this issue. The security settings in the ControlPanel seem to be user specific. Try running it as the user you are actually running your browser as (you are not browsing as root!??) and setting the security level to Medium there. - For me, that did it.

我有这个问题。ControlPanel中的安全设置似乎是特定于用户的。尝试以实际运行浏览器的用户的身份运行它(不是以root用户身份浏览),并将安全性级别设置为中等。-对我来说,就是这样。

#2


15  

As an alternative answer, there's a command line to invoke directly the Control Panel, which is javaws -viewer, should work for both openJDK and Oracle's JDK (thanks @Nasser for checking the availability in Oracle's JDK)

作为另一种解决方案,有一条命令行可以直接调用控制面板(即java aws -viewer),它应该同时适用于openJDK和Oracle的JDK(感谢@Nasser检查Oracle的JDK中的可用性)。

Same caution to run as the user you need to access permissions with applies.

与需要访问权限的用户一样,要使用同样的警告。

#3


4  

$pwd /usr/lib/jvm/jre1.8.0_25/bin

$ pwd /usr/lib/jvm/jre1.8.0_25 / bin

./jcontrol

。/ jcontrol

as follow,

遵循,

java Control Panel --> Security --> Edit Site list ,
then apply, and ok.

java Control Panel——> Security——>编辑站点列表,然后应用,ok。

#4


1  

The application that you are running is blocked because the application does not comply with security guidelines implemented in Java 7 Update 51

您正在运行的应用程序被阻塞,因为应用程序不符合Java 7 Update 51中实现的安全指导原则

#5


1  

You can also use Edit Site List and make it be an exception so that you can run it from the specific website.

您还可以使用编辑站点列表,并使它成为一个异常,以便您可以在特定的网站上运行它。

#6


-2  

Just start your browser with superuser rights, and don't forget to set Java's JRE security to medium.

只要用超级用户权限启动浏览器,不要忘记将Java的JRE安全性设置为medium。