开发者

creating a JAVA jnlp file

Hi this is my xml file to create a JNLP all I get is a Navigation to webpage cancelled even though I am specifying that my jar is already located in my c:\Users directory

<!--
<?xml version="1.0" encoding="utf-8"?> 
<!-- JNLP File for TableDemo --> 
<jnlp spec="1.0+" 
   codebase="c:/Users/" 
  href="TableDemo.jnlp"> 
<information> 
<title>TableDemo</title> 
<description>Java Table Demo </description> 
<offline-allowed/> 
</information> 
<resources> <jar href="TableDemo.jar" /> 
<j2se version="1.6+"> 
</resources> <application-desc main-class="TableDemo" /> 
</jnlp> 

-->

Why can I not produce a TableDe开发者_如何转开发mo.jnlp file?


Try changing your codebase to:

codebase="file:///c:/Users"

as it must be a URL.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜