Lubuntu 20.04. I've created a simple .sh script to run my Java program, so content of .sh is:
java -jar /path_to_my/test.jar
I marked this script as executable, and when double-clicking on it in the file manager (PCManFM-Qt v. 0.14.1) it just opens a terminal (QTerminal) and does nothing.
When executing the script manually in the terminal it works.