简体   繁体   中英

Missing a “Permissions” manifest attribute in Java

I have some problems with opening a SAN switch in Webtools (Java version 8 Update 31).

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)

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..

Open the "Mission Control Panel" of java.

If you cannot find it, have a look in the bin folder of your jdk installation, the executable should be called jcontrol .

Run it, open tab "Security", Button "Edit Site List" and add your URL to the Exception Site List. Ie https://10.0.0.1 is all you need.

Use oracle java if you use linux and somehow miss jcontrol from the openjdk package.

Afterwards you should be able to start the .jnlp (or however you want to start the applet) of your desire.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM