--- In kicad-users@yahoogroups.com, "c_harf" <c_h...@...> wrote: > > --- In kicad-users@yahoogroups.com, NdK <ndk.clanbo@> wrote: > > > > 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="." > > codebase="file://localhost/d:/kicad/bin" > > > 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. > > FWIW I managed to get this to work under WinXP but the 'codebase' > value had to be altered from above (I've inserted my version in the > code above...). Notice it has the full path to the KiCad binary folder > - it will be different for you! Change it to suit your own system. > > This seems to be necessary as KiCad will only look in it's own 'bin' > folder for the freeroute.jnlp file. All the other .jar & .jnlp files > above must also be in that folder. > > NOTE: It WILL NOT work if there's a space in the path!! I originally > had my KiCad folder under 'program files' and when KiCad tried to call > it the path got all messed up and freeroute.jnlp couldn't resolve it. > > In the help.jnlp file, the same (i,e 'codebase=') line must also be > changed (same path) as well as the following: > > <jar href="jh.jar" donwload="lazy"/> > > Change to: > <jar href="jh.jar"/> > > HTH > Chris. > Hi, As I can't run freeroute from my internet connection because of commodo what changes do I have to make to the folllowing jnlp files in order to run freeroute on Winxp? All the relevant files (freeroute.jnlp,help.jnlp,router.jar and jh.jar) are stored on my desktop in a folder called freeroute.
FREEROUTE.JNLP --------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for Freeroute --> <jnlp spec="6.0+" codebase="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute"/> 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"/> </information> <resources> <jar download="eager" href="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute\router.jar"/> <extension href="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute\help.jnlp" name="Java Help"/> <java version="1.6+" java-vm-args="-Xmx1024m"/> </resources> <application-desc main-class="gui.MainApplication"> <argument>-webstart</argument> </application-desc> </jnlp> HELP.JNLP --------------------------------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <jnlp codebase="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute" href="help.jnlp"> <information> <title>JavaHelp System Library</title> <vendor>Sun Microsystems, Inc.</vendor> </information> <security> <all-permissions/> </security> <resources> <jar href="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute\jh.jar" download="lazy"/> </resources> <component-desc/> </jnlp> I hope someone can help me to get freeroute running on my pc. Thanks. David.