Re: how to make launcher for a jar

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux