如何强制 Java Web Start 运行自签名 JNLP? [英] How can I force Java Web Start to run a self-signed JNLP?

查看:62
本文介绍了如何强制 Java Web Start 运行自签名 JNLP?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在开发一个使用 Java Web Start 的应用程序.

We are developing an app that uses Java Web Start.

当我尝试启动 JNLP 文件时,收到以下警告:

When I try to start my JNLP file, I get this warning:

位置"(http://:port)已添加到例外站点列表中.我原以为这本身就足以让 JNLP 运行.

The "Location" (http://<IP>:port) has been added to the Exception Site List. I would have thought that this would in itself be enough to make the JNLP run.

但是,我还在高级"下做了以下操作:

However, I have also done the following under "Advanced":

我只有一个 Java 版本 - 它是 Java 1.8.0_91,32 位.

I only have one Java version - it is Java 1.8.0_91, 32-bit.

我还需要做什么才能让我的 JNLP 运行?

What more do I need to do to make my JNLP run?

推荐答案

问题是清单中缺少 Permissions 属性,因此在 Java 1.8 中被阻止而没有警告.如果您运行 Java 1.7,则会出现警告.

The problem was that the Permissions attribute was missing in the manifest, and was therefore blocked without warning in Java 1.8. The warning appears if you run Java 1.7.

这篇关于如何强制 Java Web Start 运行自签名 JNLP?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆