how to make launcher for a jar

Tony Nelson tonynelson at georgeanelson.com
Sun Oct 23 15:06:31 UTC 2005


At 11:01 AM -0400 10/23/05, Tony Nelson wrote:
>At 10:42 PM -0700 10/22/05, Josh Coffman wrote:
>>ayone know how to make a launcher for a jar?
>>I've installed ww2d, which is cool, but I'd like to
>>setup a launcher to start it. can't just use java -jar
>>/path-to-jar/WW2D.jar because it needs to be run from
>>within that directory otherwise it errors out.
>
>Well, in general, put in the launcher whatever commands would start it from
>a terminal.  Probably somthing like:
>
>    cd /path/to/jar ; java -jar WW2D.jar

Bleah.  Make that:

    /bin/bash -c "cd /path/to/jar ; java -jar WW2D.jar"
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list