Starting java app from desktop icon

Nigel Henry cave.dnb at tiscali.fr
Mon Nov 13 19:41:52 GMT 2006


On Monday 13 November 2006 20:06, kitts wrote:
> On Tuesday 14 November 2006 00:09 IST, Nigel Henry wrote:
> > $ cd Breakage-22b
> > Breakage-22b $ /usr/local/java/bin/java -jar Breakage2.jar
> >
> > This starts the java app ok, but is there a way to run this from a link
> > to application on the desktop?
>
> Create the link to application as you mentioned. Then in the command to
> run, type "cd Breakage-22b &&  /usr/local/java/bin/java -jar
> Breakage2.jar".
>
> I haven't tried it here but I am pretty sure it will work. :-)

Thanks Kitts. That's worked first go. I thought I'd have to cd to the working 
directory first before running the command, but wasn't sure how to go after 
cd'ing. What does the "&&" actually do?

Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.




More information about the kde mailing list