I am currently trying to use HERO Designer, a Java program, on Ubuntu 16.04. All other Java programs work as expected (i. e. I double click on them and they start without issue).
If I run it from the command line (
java -jar HD6.jar
) everything works fine.If I double click on it, it locks up. The splash screen comes up and it stops a few moments later. When executed by double clicking the program starts, then hangs on the splash screen.
According to the developer, this means I don't have write permissions. I looked in Properties > Permissions. I am the owner. The owner and group have read/write access, and the executable flag is checked. I also created a bash script that just runs the above line with the same results.
The result of the ps aux | grep HD6
is:
daniel 13216 1.0 2.6 5019752 214316 ? Sl 19:28 0:18 /usr/bin/java -jar /home/daniel/Programs/HERODesigner/HD6.jar
I'm opening with "OpenJDK Java 8 Runtime". Other Java programs run without issue by double clicking the icon. Any suggestions?
whereis java
? You could then create a.desktop
file with the approripate command