[英]Missing a “Permissions” manifest attribute in Java
I have some problems with opening a SAN switch in Webtools (Java version 8 Update 31). 我在Webtools(Java版本8 Update 31)中打开SAN交换机时遇到一些问题。
The first problem was a failed to validate certificate 第一个问题是验证证书失败
This was fixed by following the instructions on this site 按照本网站上的说明进行修复
However, then I got following error: 但是,我得到以下错误:
Which was solved by adding these 3 entries to the site to the exception site list (the last one is the only one necessary I think) 通过将这3个条目添加到站点到异常站点列表(最后一个是我认为唯一必需的)来解决这个问题
http://i.p.address/*
http://i.p.address/switchExplorer.html
http://i.p.address/
But now I get following error: 但现在我得到以下错误:
your security settings have blocked an application from running due to missing a “permissions” manifest attribute in the main jar web tools
The solution seems to be adding the URL to the exceptions but I have already done that in the previous step.. 解决方案似乎是将URL添加到异常中,但我已在上一步中完成了此操作。
Open the "Mission Control Panel" of java. 打开java的“任务控制面板”。
If you cannot find it, have a look in the bin
folder of your jdk installation, the executable should be called jcontrol
. 如果你找不到它,看看你的jdk安装的bin
文件夹,可执行文件应该被称为jcontrol
。
Run it, open tab "Security", Button "Edit Site List" and add your URL to the Exception Site List. 运行它,打开“安全”选项卡,按钮“编辑站点列表”,并将您的URL添加到例外站点列表。 Ie https://10.0.0.1
is all you need. 即https://10.0.0.1
就是您所需要的。
Use oracle java if you use linux and somehow miss jcontrol
from the openjdk package. 如果你使用linux,请使用oracle java,并以某种方式错过openjdk包中的jcontrol
。
Afterwards you should be able to start the .jnlp (or however you want to start the applet) of your desire. 之后你应该能够启动你想要的.jnlp(或者你想要启动applet)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.