What is the right way to implement java webstart on a server? -


i want start application webstart, program needs 3 external jars work. tried compiling netbeans uploading on "dist" folder server , accesing server , trying run html. didnt worked because there error paths of external jars if indicated right paths in jnlp.

error:

exitexception[ 3]com.sun.deploy.net.faileddownloadexception:      unable load resource: http://www.abaxomol.com/dist/lib\commons-io-2.4.jar 

so, external jars go in client computer , retrieve them there?

jnlp:

<?xml version="1.0" encoding="utf-8"?> <jnlp spec="1.0" xmlns:jfx="http://javafx.com" href="contenedores.jnlp">   <information>     <title>contenedores</title>     <vendor>diego</vendor>     <description>null</description>     <offline-allowed/>   </information>   <resources>     <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/>     <jar href="contenedores.jar" size="12407" download="eager" />     <jar href="lib/commons-io-2.4.jar" size="185140" download="eager" />     <jar href="lib/guava-18.0.jar" size="2256213" download="eager" />     <jar href="lib/json-simple-1.1.1.jar" size="23737" download="eager" />   </resources>   <applet-desc  width="800" height="600" main-class="com.javafx.main.nojavafxfallback"  name="contenedores" >     <param name="requiredfxversion" value="8.0+"/>   </applet-desc>   <jfx:javafx-desc  width="800" height="600" main-class="contenedores.contenedores"  name="contenedores" />   <update check="always"/> </jnlp> 

i had manually copy content in generated html , jnlp new files, upload file server , remove old ones , reason worked. bug maybe? dont know.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -