Search code examples
linuxbashlinux-mint

how to create a shortcuts to .jar files linux


having a little trouble making a short cut for a jar folder could someone explain why what I've is wrong and what to do.

enter image description here


Solution

  • The Command entry of a shortcut is unlikely to accept a raw shell script like that.

    Try java -jar /full/path/to/file.jar or bash -c 'cd /full/path; java -jar file.jar instead.