At first I just made a link to the .sh file on my desktop which failed to execute by double click. Then I've read about .desktop files and made one still to no avail. The program I want to run is a shell script with various parameters for executing jar file. My ./desktop file looks as follows:
[Deskto Entry] Encoding=UTF-8 Name=jessator Comment=starts the jess UI Exec=/home/alf/Software/Jessator/runJessator.sh Icon=/home/alf/Software/Jessator/jess-32x32.gif Type=Application Terminal=false
Since the script launches from the terminal, it is correct, however since it does not really used the terminal, I don't want to open terminal window to run it. Setting Terminal=true did not help either.
EDIT: The script I am launching:
java -cp $JESSATOR/Jessator.jar:/home/alf/JESS/Jess71p2/lib/*:$JESSATOR/TimerBean.jar Jessator