Changeset 10580 in josm for trunk/linux/latest/usr
- Timestamp:
- 2016-07-21T01:57:41+02:00 (8 years ago)
- Location:
- trunk/linux/latest/usr
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/linux/latest/usr/bin/josm-latest
r10430 r10580 3 3 set -e 4 4 5 # First, users preference as defined by $JAVA_HOME. Next, use OpenJDK or Oracle's proprietary JDK.5 # First, the alternative (if known to work) or users preference as defined by $JAVA_HOME. Next, use OpenJDK or Oracle's proprietary JDK. 6 6 # Override to a specific one using $JAVACMD 7 ALTERNATIVE_JDK="`readlink -n -f /etc/alternatives/java`" 8 7 9 # Let's get the current architecture -- needed for multiarchified Java 8 10 ARCH="`dpkg --print-architecture 2> /dev/null || true`" … … 12 14 JAVA_CMDS="$JAVA_HOME/bin/java" 13 15 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-8-openjdk/bin/java /usr/lib/jvm/java-8-openjdk-$ARCH/bin/java /usr/lib/jvm/java-8-oracle/bin/java" 14 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-7-openjdk/bin/java /usr/lib/jvm/java-7-openjdk-$ARCH/bin/java /usr/lib/jvm/java-7-oracle/bin/java"15 16 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-9-openjdk/bin/java /usr/lib/jvm/java-9-openjdk-$ARCH/bin/java /usr/lib/jvm/java-9-oracle/bin/java" 16 17 else 17 18 JAVA_CMDS="$JAVA_HOME/bin/java /usr/bin/java" 18 19 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-8-oracle/bin/java" 19 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-7-oracle/bin/java"20 20 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-9-oracle/bin/java" 21 21 fi … … 26 26 27 27 JAVA_OPTS="-Djosm.restart=true -Djosm.home=$HOME/.josm-latest -Djava.net.useSystemProxies=true $JAVA_OPTS" 28 29 if [ -z "${JAVACMD}" ]; then 30 for jcmd in $JAVA_CMDS; do 31 if [ "z$ALTERNATIVE_JDK" = "z`readlink -n -f $jcmd`" ] && [ -z "${JAVACMD}" ]; then 32 JAVACMD="$jcmd" 33 break 34 fi 35 done 36 fi 28 37 29 38 if [ -z "${JAVACMD}" ]; then -
trunk/linux/latest/usr/share/man/man1/josm-latest.1
r7843 r10580 1 .TH JOSM 1 " December 20, 2014"1 .TH JOSM 1 "July 21, 2016" 2 2 .\" Please adjust this date whenever revising the manpage. 3 3 .SH NAME … … 7 7 .SH DESCRIPTION 8 8 .B JOSM 9 is an editor for OpenStreetMap written in Java 7.9 is an editor for OpenStreetMap written in Java 8. 10 10 .PP 11 11 .B OpenStreetMap
Note:
See TracChangeset
for help on using the changeset viewer.