java-web-start - 不再显示发布者 Java Web Start 的消息
问题描述
我已经或多或少地通过 Java Web Start 开发了一个应用程序:How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app? 我已经用 manifest.txt 等打包了 jar。但是通过这种方式我解决了缺少属性的问题,现在我遇到了其他问题,总是显示此消息!我检查了“不再显示”,每次按下按钮执行时总是显示!我
Adicionally 这是我的清单文件:
清单版本:1.0 类路径:. 主类:com.zkteco.biometric.AccesoBiometrioAS2 权限:all-permissions 代码库:http: //192.168.111.25 :8180/pos-web / 应用程序名称:Biometrico
我的 Jnlp 文件是这样的:
<?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>
在此页面中,检查后对话框不再显示并且工作正常。 https://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html
因为我使用 servlet 以动态方式生成jnlp -xml,所以每个请求的XY都会发生变化。
解决方案
这是由于您的 Java 设置造成的。这是一个安全提示。您无法在应用程序中更改任何内容来阻止此对话框,最终用户可以更改其安全设置以显示/隐藏这些对话框窗口。
编辑:我还建议将您的应用程序迁移到不同的交付平台,因为Java Web Start 被 Oracle 猛烈关闭。
推荐阅读
- arrays - 无法将“NSObject”类型文件的值分配给“UIImage”类型 - Apple Swift
- c - 如何在 C 编程中获取父目录?
- ruby-on-rails - React on Rails 可以集成到现有的 Rails 3.x 应用程序中吗?
- ms-access - 访问 SELECT DISTINCT 不起作用
- ios - “UITableViewCell”类型的值在多个 TableView 中没有成员“名称”
- r - R中带有计数和百分比的二乘二表
- java - 在 JavaFX 中设置全局光标
- python-3.x - PySNMP 添加自定义 MIB
- javascript - Angular 4-如何使用 ngClass 添加和删除多个类?
- google-bigquery - Big Query 中的分区切换或附加分区等效?