I am using KDE and Firefox
On my PC I have an option to start-> system-> OpenJDK 1.8.0 Policy Tool
But when I click I get the message that the program does not exist
I have reinstalled Java, but this program is still missing.
How do I solve this problem?
The “policytool” command worked perfectly on a console.
Thanks for the tip.
But this tool does not do what I need.
I need Java to install a program that is on a website of the Brazilian government
It should be easy, but over here these ties are complicated by being made by people who do not care about the people in general.
To install the program, you must first download a Java application.
This Java application downloads and installs the program I need.
The download is successful but then the following error occurs:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:813)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:532)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:936)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error: Cannot grant permissions to unsigned jars. Application requested security permissions, but jars are not signed.
at net.sourceforge.jnlp.runtime.JNLPClassLoader$SecurityDelegateImpl.getClassLoaderSecurity(JNLPClassLoader.java:2393)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.setSecurity(JNLPClassLoader.java:321)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:734)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:285)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:357)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:429)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:403)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:805)
... 2 more
Some people have said that this also happens with Windows and is “fixed”
, simply type “./ControlPanel” by opening a Java window and registering the address of the site that originates the program
Could you tell me how I can do the same inside Linux?
The first link shows paths and files that do not exist in my PC… maybe they exist on Ubunto…
I made the suggested change in the second link but the problem remains the same …
I rebooted the PC after editing but it remains don’t run unsigned applets
The settings in the second link can be made in this same file.
If there are other files you’re looking for, I recommend using the “locate” utility installed by the package mlocate.
And, if you can’t find any other files, just ask…
The problem with this approach is that your changes likely get lost when you install updates, though.
There is a /etc/java/security/security.d/ though where you could apparently put your additions (I’m not sure how exactly).
And this also seems to imply that it might respect /etc/java/security/java.security, if you create it.
That link is about IcedTea AFAICS (openJDK’s webbrowser plugin), which does come with a graphical config tool (as mentioned in a comment on that page), itweb-settings.
Regarding the paths mentioned there: yes, they do seem to be “wrong”, apparently the user settings are stored in ~/.config/icedtea-web/(security/) now.
And itweb-settings should create that if it doesn’t exist yet.