Regarding the suggestion to replace the command java -jar /usr/share/java/king.jar
with /usr/bin/king
, I checked the situation. The /usr/bin/king
path is currently just a symlink to /usr/share/java/king.jar
. Since this is a Java Archive file and not an executable, it cannot be run directly. Trying to execute /usr/bin/king
gives an error that says it could not find an interpreter, because there is no wrapper script or binary to handle it.