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 – tk-noodle Apr 20 '17 at 16:51ps aux | grep HD6.jar
you should be able to see what the actual command is running, as well as the user, etc; please add that output to the main description – tk-noodle Apr 21 '17 at 13:26java -jar HD6.jar
? What happens when you runcd / && java -jar /home/daniel/Programs/HERODesigner/HD6.jar
andcd / && xdg-open /home/daniel/Programs/HERODesigner/HD6.jar
? – David Foerster Apr 24 '17 at 17:35