1、命令为:
javaws -import http://127.0.0.1:7001/download/jnlp/installJars.jnlp -silent
2.jnlp格式为
<?xml version='1.0' encoding='UTF-8'?>
<jnlp codebase='http://10.11.114.70:7001/'>
<information>
<title>ClientSet</title>
<vendor>UFGOV</vendor>
<description>get init jars</description>
<offline-allowed/>
</information>
<resources>
<jar href='./applets/plugins/com.ufgov.gmap.spi_1.0.0.jar' />
<jar href='./applets/plugins/com.ufgov.admin.spi_1.0.0.jar' />
</resources>
<applet-desc
name='ClientSet'
main-class='com.ufgov.clientsetting.component.JApplet'
width='527'
height='428'>
</applet-desc>
<security>
<all-permissions/>
</security>
</jnlp>
|