Install JRE instead of JDK in install script (#883)

Should reduce the size of packages needed to be downloaded
This commit is contained in:
Matt
2023-07-21 06:13:36 -07:00
committed by GitHub
parent dd9795028d
commit 454f8a1773

View File

@@ -53,11 +53,11 @@ else
echo 'GOVERNOR=performance' > /etc/default/cpufrequtils
fi
echo "Installing the JDK..."
if ! package_is_installed openjdk-11-jdk-headless
echo "Installing the JRE..."
if ! package_is_installed openjre-11-jre-headless
then
apt-get update
apt-get install --yes openjdk-11-jdk-headless
apt-get install --yes openjre-11-jre-headless
fi
echo "JDK installation complete."