Java - Java security-locked application

Asked

Viewed 323 times

-3

I am developing a Javafx application using Intellij, when running in the ide everything goes very well, but when opening the file. JNLP I come across the following message:

Mensagem de erro

I am using java 8 for the application more precisely version 1.8.0_202, which is causing this and how to fix?

1 answer

1

This is standard Javavm, it’s possible to disable security, but I wouldn’t recommend it. You’re probably also using requests of all permissions without needing to, or really your Javavm is at a strict level and neither sandbox function fully (DOES NOT SOLVE):

<security>
    <sandbox />
</security>

but it’s a security issue, what I think would solve maybe would be to sign your program, the steps are:

That is, you should not sign jnlp, you should put jnlp inside a jar to sign the jar. something like:

jarsigner <seu jar>.jar alias

The details are in the links above

Browser other questions tagged

You are not signed in. Login or sign up in order to post.