We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33cc132 commit c971581Copy full SHA for c971581
modules/java.sh
@@ -106,6 +106,8 @@ function java_install() {
106
#############################
107
# Perform maintenance tasks
108
function java_postinstall() {
109
+ update-alternatives --set "/usr/bin/java" "$JAVA_REAL_EXE"
110
+
111
echo "Output of 'java -version':"
112
"$JAVA_REAL_EXE" -version
113
0 commit comments