A jar file cannot be run directly from a Desktop Entry.
Make a shell script with your java -jar command ..
Quote:
#!/bin/sh
cd <path-to-jar-file>
exec java -jar file.jar
|
Name the script, make it executable, cp the script to
/usr/local/bin/
Now you can call the script from a Desktop Entry with
exec=scriptname .
....