File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /bin/bash
22
33echo " Installer options:"
4- echo " sudo ./installer.sh [Execute modules: platform, java & batteryMonitor ]"
4+ echo " sudo ./installer.sh java [Execute modules: platform, java]"
55echo " sudo ./installer.sh batteryMonitor [Install batteryMonitor]"
66echo " sudo ./installer.sh extended [Execute modules: platform, java, batteryMonitor & native-libraries]"
77echo " sudo ./installer.sh copy-installer robot@192.168.1.206 [Copy the installer to a remote brick]"
Original file line number Diff line number Diff line change @@ -61,6 +61,12 @@ if type -p java; then
6161 echo " Found java executable in PATH"
6262 JAVA_REAL_EXE=" $( which java) "
6363
64+ echo $JAVA_OPT /jri-10-build-050
65+ if [ ! -d " $JAVA_OPT /jri-10-build-050" ]; then
66+ echo " But upgrading Java version"
67+ echo
68+ fi
69+
6470elif [[ -n " $JAVA_HOME " ]] && [[ -x " $JAVA_HOME /bin/java" ]]; then
6571 echo " Found java executable in JAVA_HOME"
6672 JAVA_REAL_EXE=" $JAVA_HOME /bin/java"
You can’t perform that action at this time.
0 commit comments