Skip to content

Commit

Permalink
chore(scripts): update install script to tell users to install Java (
Browse files Browse the repository at this point in the history
  • Loading branch information
kwannoel authored Mar 25, 2024
1 parent 1628b87 commit 7adb748
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/install/install-risingwave.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,4 +102,10 @@ echo "To view available options, run:"
echo
echo " risingwave single-node --help"
echo
# Check if $JAVA_HOME is set, if not, prompt user to install Java, and set $JAVA_HOME.
if [ -z "${JAVA_HOME}" ]; then
tput setaf 3
echo "WARNING: Java is required to use RisingWave's Java Connectors (e.g. MySQL)."
echo "Please install Java, and set the \$JAVA_HOME environment variable."
fi
# TODO(kwannoel): Include link to our docs.

0 comments on commit 7adb748

Please sign in to comment.