It's the launcher script, not josm.
The echo command is failing if no console is available (or redirect to
somewhere).
if you put the echo commands this way
echo "message" || true
all works fine.
if [ "$JAVACMD" ]; then
echo "Using $JAVACMD to execute josm." || true
exec $JAVACMD $JAVA_OPTS -jar /usr/share/josm/josm.jar "$@"
else
echo "No valid JVM found to run JOSM." || true
exit 1
fi
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]