Changeset 9066 in josm for trunk/linux/tested/usr
- Timestamp:
- 2015-11-28T17:28:12+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/linux/tested/usr/bin/josm
r8970 r9066 3 3 set -e 4 4 5 # First, the alternative (if known to work) orusers preference as defined by $JAVA_HOME. Next, use OpenJDK or Oracle's proprietary JDK.5 # First, 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 9 7 # Let's get the current architecture -- needed for multiarchified Java 10 8 ARCH="`dpkg --print-architecture 2> /dev/null || true`" … … 24 22 25 23 JAVA_OPTS="-Djosm.restart=true -Djava.net.useSystemProxies=true $JAVA_OPTS" 26 27 if [ -z "${JAVACMD}" ]; then28 for jcmd in $JAVA_CMDS; do29 if [ "z$ALTERNATIVE_JDK" = "z`readlink -n -f $jcmd`" ] && [ -z "${JAVACMD}" ]; then30 JAVACMD="$jcmd"31 break32 fi33 done34 fi35 24 36 25 if [ -z "${JAVACMD}" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.