Missing manifest attribute "Permissions" in Java

I'm having trouble opening a SAN switch in Webtools (Java version 8 update 8).

The first problem was certificate verification failure

failed to validate certificate

This has been fixed by following the instructions on this site

However, after doing this, I got the following error: blocked an application

Which was solved by adding these 3 site entries to the list of site exceptions (the last one I only need one)

http://i.p.address/*
http://i.p.address/switchExplorer.html
http://i.p.address/

      

But now I am getting the following error:

your security settings have blocked an application from running due to missing a "permissions" manifest attribute in the main jar web tools

      

missing manifest attribute

The solution seems to add the url to the exceptions, but I already did that in the previous step.

+3


source to share


1 answer


Open the "Mission Control Panel" java.

If you can't find it, look in bin

your jdk installation folder, the executable should be called jcontrol

.

Run it, click the Security tab, the Edit Site List button, and add the URL to the exclusion list. That is https://10.0.0.1

, this is all you need.



Use oracle java if you are on linux and somehow miss jcontrol

from openjdk package.

After that, you should be able to launch .jnlp (or still want to launch the applet) as you wish.

0


source







All Articles