Skip to content

Commit 0fae117

Browse files
committed
Minor change
1 parent 0d2be49 commit 0fae117

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

modules/help.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
echo "Installer options:"
4-
echo "sudo ./installer.sh [Execute modules: platform, java & batteryMonitor]"
4+
echo "sudo ./installer.sh java [Execute modules: platform, java]"
55
echo "sudo ./installer.sh batteryMonitor [Install batteryMonitor]"
66
echo "sudo ./installer.sh extended [Execute modules: platform, java, batteryMonitor & native-libraries]"
77
echo "sudo ./installer.sh copy-installer robot@192.168.1.206 [Copy the installer to a remote brick]"

modules/java.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
6470
elif [[ -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"

0 commit comments

Comments
 (0)