我有一个运行良好的JNLP文件,并且在升级到Java 1.7(32位jdk1.7.0_02)之后,我的计算机似乎不再运行该文件
当我在无法启动应用程序对话框中选择查看详细信息时,启动文件显示为随机字符,但例外是:

MissingFieldException[ The following required field is missing from the launch file: <jnlp>] at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)


您可以在此处查看文件:Download Trial Version of The Proctinator

看起来该文件正在运行Java 6的其他计算机上运行。但是,我遇到问题的计算机能够启动其他JNLP文件。

有什么想法吗?

最佳答案

您可能想先使用JaNeLA验证启动文件,然后再对版本之间的差异感到疑惑。如果JNLP无效,那么任何人都会猜测JWS客户端将如何解释它。

JaNeLA Report - version 11.05.17


Report for http://proctinator.com/dist/launch.jnlp

cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'security'. One of '{resources, application-desc, applet-desc, component-desc, installer-desc}' is expected.
XML encoding not known, but declared as UTF-8
Codebase + href 'http://proctinator.com/ProctinatorDemo.jnlp' is not equal to actual location of 'http://proctinator.com/dist/launch.jnlp'.
...




顺便说一句-JaNeLA无法检测到描述中的某些内容。


  检察官通过分配作业槽来节省纸张
  电子邮件和网络。


应该 ..


  检察官通过分配作业来节省纸张
  电子邮件和网络。


和.. +1为帮助树木。

09-10 03:10
查看更多