Starting java app from desktop icon

Nigel Henry cave.dnb at tiscali.fr
Mon Nov 13 18:39:46 GMT 2006


I have a Java app, "Breakage" a drum sequencer. To start it in Konsole, first 
I have to cd to Breakage-22b, which is the folder in /home/user containing 
the .jar file for the drum sequencer. So the procedure is.

$ 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?

It appears that cd'ing to the directory containing the .jar file is necessary 
before running the command /usr/local/java/bin/java -jar Breakage2.jar

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