Creating desktop link to java program
I am trying to create a desktop link to a java program. At the moment I have to cd to the relevent directory that contains a text file that I run by typing ./myprogram. The file contains the line exec java..... I have tried creating a link to the file, but a dialog box opens up asking what program I want to open the file with...
Any help would be much appreciated.