I happen to use a java app ( ipscan-linux-3.0-alpha1.jar ) that i just have sitting on the desktop and run it a different way.
Right click on the application icon and highlight "open with" , if you see "java" as one of the selections, click it and see if the app opens. If the application fails to open, or if Java is missing you will need to verify Java is installed properly.
AFTER you verify that you have Java installed properly - you may try running the java app this way:
* right click on the application icon
* in the "permissions" tab select the box besides "is executable"
You may then need to set the file association for .jar to java ( mine was initially set to ark ). I am running KDE, so to set file association in KDE...
* open Control Center in KDE menu
* expand "KDE Components" and select "File Associations"
* type "jar" in the search bar
* expand "applications" and select x-jar
At this point I had ark and java listed, but java was not the first preference, so I moved it up to the top of the list. After this double clicking the opens the application.
This procedure needs Gnome instruction for associating files to apps but I will try to add that later, unless some Gnome person beats me to the punch... ;-)
buena suerte...
...What if there were no hypothetical questions?