No show anymore message of publisher Java Web Start

不羁岁月 提交于 2019-12-20 06:27:53

问题


I have developed an application via Java Web Start more or less according to this: How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app? I have packed the jar with manifest.txt, etc..but in this way I have resolved missing attributes problem, and now I have other problem this message is always showed!! I checked "No show again" and each time I press button to execute and always is showed!! I

Adicionally this is my manifest file:

Manifest-Version: 1.0 Class-Path: . Main-Class: com.zkteco.biometric.AccesoBiometrioAS2 Permissions: all-permissions Codebase: http://192.168.111.25:8180/pos-web/ Application-Name: Biometrico

And my Jnlp File this:

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://192.168.111.25:8180/pos-web/">
 <information> <title>CajaPos</title> <vendor>xxx</vendor>
</information>
<security><all-permissions/>
</security>
<resources>
<j2se version="1.2+"/>
 <jar href="xx.jar" 
main="true" /> 
</resources
<application-desc main-class="ec.com.xx.pos"  type="JavaFX">
<argument>XY</argument>
</application-desc>
</jnlp>

In this page after check the dialog is not showed again and works fine. https://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html

Where XY change for each request because I generate jnlp-xml in a dynamically way with a servlet.


回答1:


This is due to your Java settings. It is a security prompt. There’s nothing you can change in your application to prevent this dialog, it is up to the end-user to change their security settings to show/hide these dialog windows.

Edit: I also recommend migrating your app to a different delivery platform because Java Web Start is being violently turned off by Oracle.



来源:https://stackoverflow.com/questions/53959904/no-show-anymore-message-of-publisher-java-web-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!