所以我试着像这样配置我们的JNLP:
<resources> <j2se version="1.6.0_29" href="http://java.oracle.com/products/autodl/j2se"/> ... </resources>
当我开始这个jnlp时,即使安装了正确的Java,我也会得到以下错误:
Error: The application has requested a version of the JRE (version 1.6.0_29) that currently is not locally installed. Java Web Start is unable to automatically download and install the requested version. This JRE must be installed manually.
更新
在JNLP File Syntax中,它允许使用特定的Java版本,如1.6.0_29.我甚至用1.6.0_29-b11尝试过它 – 仍然是同样的错误.
Exact product versions (implementation versions) may also be
specified. by including the href attribute. For example,1.3.1_07,
1.4.2,or 1.5.0-beta2 by Sun Microsystems,Inc. For example,<j2se version=”1.4.2″ href=”http://java.sun.com/products/autodl/j2se”/>
or
<j2se version=”1.4.2_04″
href=”http://java.sun.com/products/autodl/j2se”/>
编辑
给出的答案没有帮助,也没有正确的答案.
解决方法
安装1.6.0_29并不足以告诉webstart它可用.有关更多信息,请参见this post
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。