Webstart运行错误版本的JRE [英] Webstart runs with wrong version of JRE
问题描述
我有一个需要Java 7+的Java webstart应用程序,所以JNLP有这一行:
I have a Java webstart application that requires Java 7+, so the JNLP has this line:
<j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>
这适用于各种Windows XP& Windows 7机器(其中大多数也安装了Java 6),但在其中一台机器上,webstart是用Java 6启动的并且失败了(错误的JRE版本)。我找到了这篇文章并检查了Java设置,它们看起来很好:
This works on various Windows XP & Windows 7 machines (most of them also having Java 6 installed) but on one of them, webstart is launched with Java 6 and fails (wrong version of JRE). I found this post and checked the Java settings and they look fine:
我也尝试将JNLP线更改为此但仍然无效:
I have also tried changing the JNLP line to this but it still does not work:
<j2se version="1.7+"/>
关于如何让webstart知道JRE 1.7在那里的任何想法?
Any ideas on how to let webstart know that the JRE 1.7 is there?
配置:Windows 7,以管理员身份运行 - 从IE启动的webstart应用程序。
Config: Windows 7, run as administrator - webstart application launched from IE.
推荐答案
我发现了问题。我有Java 6 32位&安装了64位,但Java 7只安装了64位版本。
我正在从Internet Explorer 32位启动webstart链接,我认为不能使用64位版本的JRE。
I found the problem. I had Java 6 32bits & 64bits installed, but Java 7 only had the 64bits version installed. And I was launching the webstart link from Internet Explorer 32 bits, which I suppose cannot use a 64 bits version of JRE.
从IE 64启动webstart比特工作正常。
Launching the webstart from IE 64 bits worked fine.
感谢您的评论,我在做您推荐的操作时想出了问题。
Thanks for your comments, I figured the problem out while doing one of the manipulations you recommended.
这篇关于Webstart运行错误版本的JRE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!