hmnrobots ha scritto: >>> Doesn't work because when you download freerouter you only download a >>> 1KB file that when you excecute it, conects to internet and then >>> download the program. >> Hint: jnlp is just an xml file: look into it. >> >>> Any other idea? >> Well, if previous hint is not enough: >> - download the jnlp >> - download www.freerouting.net/java/help.jnlp >> - download www.freerouting.net/java/router.jar >> - download www.freerouting.net/java/jh.jar >> - edit both jnlp files to reference local files >> - run "javaws freeroute.jnlp" >> >> Remaining issues: >> 1) there's still a problem that prevents running the jnlp: 30 > seconds to >> find & correct :-) (hint: read javaws messages carefully!)
>> 2) examples need network access >> 3) when opening your own file, jvm asks for permission (should be >> fixable in jnlp file, too) >> 4) IS IT LEGAL? (couldn't find freerouter license around...) At least this is resolved: it IS legal. :-) > I can't make it work ! would you please confirm the local references ?? Have you modified the two .jnlp files ? Here's the difffor the primary: [...@arwen Immagini]$ diff -u freeroute.jnlp.ori freeroute.jnlp --- freeroute.jnlp.ori 2008-05-30 12:35:53.000000000 +0200 +++ freeroute.jnlp 2008-11-30 12:15:34.000000000 +0100 @@ -2,18 +2,18 @@ <!-- JNLP File for Freeroute --> <jnlp - spec="6.0+" - codebase="http://freerouting.net/java" + spec="1.0" + codebase="." href="freeroute.jnlp"> <information> <title>Routing Application</title> <vendor>FreeRouting</vendor> <description>Printed Circuit Board Routing Application</description> <homepage href="http://www.freerouting.net"/> - <shortcut online="true"/> + <shortcut online="false"/> </information> <resources> - <jar download="eager" href="router.jar"/> + <jar href="router.jar"/> <extension href="help.jnlp" name="Java Help"/> <java version="1.6+" java-vm-args="-Xmx1024m"/> </resources> (it's wrapped, but should be clear anyway). BYtE, Diego.
