日期:2014-05-18  浏览次数:20622 次

急急急,web start 的jnlp中怎么配置可以从自定义的地址下载 jre
我单位由于不是每个人都可以上外网,所以在web   start启动后,有的不能连到java网站下载jre,   能否从自定义内网地址下载jre并安装呢?  

谢谢

------解决方案--------------------
这是我的JNLP
<?xml version= "1.0 " encoding= "UTF-8 "?>
<jnlp spec= "0.2 1.0 " codebase= "http://10.225.69.94:8080/myjnlp " href= "http://10.225.69.94:8080/myjnlp/MyIE.jnlp ">
<information>
<title> MyIE </title>
<vendor> 3M Corporation </vendor>
<description> MyIE just demo how to program with jnlp. </description>
<homepage href= "http://10.225.69.94:8080/myjnlp/list.html " />
<offline-allowed/>
</information>
<resources>
<j2se version= "1.3+ "/>
<jar href= "MyIE.jar " download= "lazy " main= "true "/>
</resources>
<application-desc main-class= "MyIE "/>
</jnlp>

-----------------------------

这段代码是配置他的下载地址

<jnlp spec= "0.2 1.0 " codebase= "http://10.225.69.94:8080/myjnlp " href= "http://10.225.69.94:8080/myjnlp/MyIE.jnlp ">