Changeset 13700 in josm
- Timestamp:
- 2018-05-02T23:45:52+02:00 (7 years ago)
- Location:
- trunk/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/linux/latest/usr/bin/josm-latest
r12890 r13700 14 14 JAVA_CMDS="$JAVA_HOME/bin/java" 15 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" 16 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-10-openjdk/bin/java /usr/lib/jvm/java-10-openjdk-$ARCH/bin/java /usr/lib/jvm/java-10-oracle/bin/java" 16 17 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" 18 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-11-openjdk/bin/java /usr/lib/jvm/java-11-openjdk-$ARCH/bin/java /usr/lib/jvm/java-11-oracle/bin/java" 17 19 else 18 20 JAVA_CMDS="$JAVA_HOME/bin/java /usr/bin/java" 19 21 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-8-oracle/bin/java" 22 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-10-oracle/bin/java" 20 23 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-9-oracle/bin/java" 24 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-11-oracle/bin/java" 21 25 fi 22 26 … … 47 51 if [ "$JAVACMD" ]; then 48 52 echo "Using $JAVACMD to execute josm-latest." || true 49 if [ "`expr match \"${JAVACMD}\" 'java-9'`" != "0" ] ; then53 if [ "`expr match \"${JAVACMD}\" 'java-9'`" != "0" ] || [ "`expr match \"${JAVACMD}\" 'java-10'`" != "0" ]; then 50 54 JAVA_OPTS="--add-modules java.activation,java.se.ee $JAVA_OPTS" 51 55 fi -
trunk/linux/tested/usr/bin/josm
r12890 r13700 14 14 JAVA_CMDS="$JAVA_HOME/bin/java" 15 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" 16 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-10-openjdk/bin/java /usr/lib/jvm/java-10-openjdk-$ARCH/bin/java /usr/lib/jvm/java-10-oracle/bin/java" 16 17 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" 18 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-11-openjdk/bin/java /usr/lib/jvm/java-11-openjdk-$ARCH/bin/java /usr/lib/jvm/java-11-oracle/bin/java" 17 19 else 18 20 JAVA_CMDS="$JAVA_HOME/bin/java /usr/bin/java" 19 21 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-8-oracle/bin/java" 22 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-10-oracle/bin/java" 20 23 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-9-oracle/bin/java" 24 JAVA_CMDS="${JAVA_CMDS} /usr/lib/jvm/java-11-oracle/bin/java" 21 25 fi 22 26 … … 47 51 if [ "$JAVACMD" ]; then 48 52 echo "Using $JAVACMD to execute josm." || true 49 if [ "`expr match \"${JAVACMD}\" 'java-9'`" != "0" ] ; then53 if [ "`expr match \"${JAVACMD}\" 'java-9'`" != "0" ] || [ "`expr match \"${JAVACMD}\" 'java-10'`" != "0" ]; then 50 54 JAVA_OPTS="--add-modules java.activation,java.se.ee $JAVA_OPTS" 51 55 fi
Note:
See TracChangeset
for help on using the changeset viewer.