yajeed2000 wrote:

>>>>> 1) there's still a problem that prevents running the jnlp: 30
>>>> seconds to 
>>>>> find & correct :-) (hint: read javaws messages carefully!)
Maybe this one still holds...

>> 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.
And this one applies for sure. Try escaping spaces (use "\ " instead of 
" ").

> 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?
Chris' message should have been clear enough...
> All the relevant files (freeroute.jnlp,help.jnlp,router.jar and jh.jar) are 
> stored on my desktop in a folder called freeroute.

> I hope someone can help me to get freeroute running on my pc.
Just look at the quoted messages. In diff if the first char is a -, you
have to remove the given line, if it's a +, you have to add it, and if
it's a space it oly gives context.

> FREEROUTE.JNLP
> ---------------------------------------------------------------------
> <?xml version="1.0" encoding="utf-8"?>
> <!-- JNLP File for Freeroute -->
> 
> <jnlp 
>    spec="6.0+"
This should be spec="1.0", but maybe it's not important (I'm not a Java 
guru!).
>    codebase="C:\Documents and Settings\DJSBriscoe\Desktop\freeroute"/> 
This should be codebase="." or codebase="file://localhost/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"/>
This must be changed to "false".
>    </information>
>    <resources>     
>       <jar download="eager" href="C:\Documents and 
> Settings\DJSBriscoe\Desktop\freeroute\router.jar"/>   
Remove download="eager" and leave onl router.jar in href.
>       <extension href="C:\Documents and 
> Settings\DJSBriscoe\Desktop\freeroute\help.jnlp" name="Java Help"/>
No full path.
>       <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">
Same error in codebase path: must use file:/localhost/ before actual 
path, according to Chris (sorry, I don't use windoze... All I need is in 
Linux).
>     <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"/>
Remove download="lazy" and the path.
>     </resources>
>     <component-desc/>
> </jnlp> 
Hope that's enough.

BYtE,
  Diego.

Reply via email to