我从这里下载了一个 jnlp 文件,我从这里下载了 JaNeLA 当我分析文件时,我遇到了以下错误。
这是文字报道
JaNeLA Report - version 11.05.17
Report for file:/C:/Documents%20and%20Settings/Administrator/Desktop/sample.jnlp
Content type application/xml does not equal expected type of application/x-java-jnlp-file
The element type "homepage" must be terminated by the matching end-tag "</homepage>".
我知道错误是直截了当的,但我无法解决它们,并相信我已经尽力了。任何人都可以帮忙吗?
这是我的 JNLP 文件。
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<jnlp spec="6.0+" codebase="http://my_company.com/jaws/apps" href="swingset2.jnlp" >
<information>
<title>SwingSet2 Demo Application</title>
<vendor>Sun Microsystems, Inc.</vendor>
<homepage href="docs/help.html" />
<description>SwingSet2 Demo Application</description>
<description kind="short">A demo of the capabilities
of the Swing Graphical User Interface.</description>
<icon href="images/swingset2.jpg"/>
<icon kind="splash" href="images/splash.gif"/>
<offline-allowed/>
<association mime-type="application-x/swingset2-file" extensions="swingset2"/>
<shortcut online="false">
<desktop/>
<menu submenu="My Corporation Apps"/>
</shortcut>
</information>
<information os="linux">
<title> SwingSet2 Demo on Linux </title>
<homepage href="docs/linuxhelp.html">
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6+" java-vm-args="-esa -Xnoclassgc"/>
<jar href="lib/SwingSet2.jar"/>
</resources>
<application-desc main-class="SwingSet2"/>
</jnlp>