当我安装了 Java 1.6 时,WebStart 不断尝试使用 Java 1.4
我遇到一个问题,我安装了 Java 1.5 和 1.6,但当我尝试打开特定的 Webstart 应用程序时,它一直尝试使用 Java 1.4。我尝试卸载 Java 1.4,但当我尝试打开它时,它只是重新安装 Java 1.4 并尝试再次使用它。它使用 Java Web Start。我不知道为什么会发生这种情况。我已经使用网站来检查我的计算机上正在运行哪个版本的 Java,我已经检查了命令提示符,并且还检查了浏览器设置。我检查了我的环境变量,我的 JAVA_HOME 变量和 PATH 变量都指向 Java 1.5。
有谁知道问题可能是什么或者我可以尝试解决此问题吗?
I am having an issue where I have Java 1.5 and 1.6 installed but when I try to open a specific webstart app, it keeps trying to use Java 1.4. I have tried uninstalling Java 1.4 but when I try to open it, it just reinstalls Java 1.4 and tries to use that again. It is using Java Web Start. I don't know why this is happening. I have used websites to check which version of Java is running on my machine, I have checked in the command prompt, and I have also checked in the browser settings. I have checked my environment variables and my JAVA_HOME variable and PATH variable are both pointing to Java 1.5.
Does anyone know what the issue may be or anything else I could try to troubleshoot this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是 JNLP 文件显式请求 Java 1.4 的问题,您需要更改它才能解决此问题。
一个可能有用的简单修复是将请求版本的“1.4”字符串更改为“1.4+”,如果 1.4 不可用,它将选择任何更高版本。
This is a problem with the JNLP-file explicitly requesting Java 1.4, and you need to alter it in order to fix this.
A simple fix, that may be usable, is to change the "1.4" string for the requested version to "1.4+" which will pick any later version if 1.4 is not available.