Skip to content

Commit e549b3a

Browse files
committed
Upgrading the priority to match with the Java version.
Using this way, if the brick has multiple version, finish the configuration in the right way.
1 parent fd251ff commit e549b3a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

modules/java.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function java_install_bundle() {
1919
echo "Java package acquired, installing..."
2020
tar -xf "$JAVA_ZIP" -C "$JAVA_OPT"
2121
mv "$JAVA_PATH_ZIP" "$JAVA_PATH_NEW"
22-
update-alternatives --install /usr/bin/java java "$JAVA_EXE" 1
22+
update-alternatives --install /usr/bin/java java "$JAVA_EXE" 10
2323

2424
JAVA_REAL_EXE="$JAVA_EXE"
2525
}

0 commit comments

Comments
 (0)