You are not logged in.
I ran into an issue right after installing jgnash and jre. I couldn't run it without logout and in again and wanted to share a solution with the community. Maybe it is also a bug, but not sure.
Running jgnash right after install
$ jgnash
/usr/bin/jgnash: line 5: /bin/java: No such file or directory
/usr/bin/jgnash: line 5: exec: /bin/java: cannot execute: No such file or directory
Find the problem:
$ grep /bin/java /usr/bin/jgnash
exec $JAVA_HOME/bin/java -cp $CP -jar /usr/share/java/jgnash/jgnash-1.12.0.jar
Solve the problem:
$ JAVA_HOME=/opt/java/jre
$ export JAVA_HOME
$ jgnash
Also notice that the java runtime isn't in $PATH
Offline