是否可以提示或强制用户使用 JNLP 升级 JVM?

发布于 2024-08-11 04:12:51 字数 74 浏览 2 评论 0原文

我需要在用户运行我的 Web Start 应用程序时提示他们从 JVM 1.5 升级到 1.6。使用 JNLP 设置可以实现这一点吗?

I need to prompt users to upgrade from JVM 1.5 to 1.6 when they run my Web Start application. Is this possible using JNLP settings?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

北笙凉宸 2024-08-18 04:12:51

来自开发人员指南 :

标签
指定平台版本,其中
versionNum 为 1.2、1.3、1.4 或 1.5。

您可以请求特定产品
版本,包括供应商 URL
href 属性。对于 Sun 的 JRE,
网址是
http://java.sun.com/products/autodl/j2se
例如,以下 J2SE 标签
将请求任何 Sun 1.3.1
实施:

您可以看到所有版本
在 Java 选项卡中安装的 JRE
Java 控制面板。

我猜你也可以使用“1.6”作为版本号......

From the developers guide:

The tag <j2se version="versionNum">
specifies a platform version, where
versionNum is 1.2, 1.3, 1.4, or 1.5.

You can request a specific product
version by including a vendor URL in
the href attribute. For Sun's JREs,
the URL is
http://java.sun.com/products/autodl/j2se
For example, the following J2SE tag
will request any Sun 1.3.1
implementation:

<j2se version="1.3.1*" href="http://java.sun.com/products/autodl/j2se"/>

You can see all the versions of the
installed JREs in the Java tab of the
Java Control Panel.

I'm guessing you can use '1.6' as versionNum as well...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文