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





_______________________________________________
Pkg-osm-maint mailing list
Pkg-osm-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-osm-maint

Reply via email to