From bf7963811dc8597fb7d37fa64866a3c10c072061 Mon Sep 17 00:00:00 2001 From: samfreund Date: Wed, 8 Apr 2026 17:08:44 -0500 Subject: [PATCH 1/2] install java 21 on the rubik --- install_rubikpi3.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_rubikpi3.sh b/install_rubikpi3.sh index 8b6fd04..446f9e6 100644 --- a/install_rubikpi3.sh +++ b/install_rubikpi3.sh @@ -75,7 +75,7 @@ chmod +x ./install.sh ./install.sh --install-nm=yes --arch=aarch64 --version="$1" # Install packages from the RUBIK Pi PPA, we skip calling apt-get update here because install.sh already does that -apt-get -y install libqnn1 libsnpe1 qcom-adreno1 device-tree-compiler +apt-get -y install libqnn1 libsnpe1 qcom-adreno1 device-tree-compiler openjdk-21-jre-headless # Enable ssh systemctl enable ssh From d7e65b3d76cf0290067ff62af55df93cc839646b Mon Sep 17 00:00:00 2001 From: samfreund Date: Wed, 8 Apr 2026 17:13:05 -0500 Subject: [PATCH 2/2] remove java 17 --- install_rubikpi3.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install_rubikpi3.sh b/install_rubikpi3.sh index 446f9e6..f64512f 100644 --- a/install_rubikpi3.sh +++ b/install_rubikpi3.sh @@ -74,8 +74,9 @@ df -h chmod +x ./install.sh ./install.sh --install-nm=yes --arch=aarch64 --version="$1" -# Install packages from the RUBIK Pi PPA, we skip calling apt-get update here because install.sh already does that +# Install packages from the RUBIK Pi PPA and remove ones that are replaced, we skip calling apt-get update here because install.sh already does that apt-get -y install libqnn1 libsnpe1 qcom-adreno1 device-tree-compiler openjdk-21-jre-headless +apt-get -y remove openjdk-17-jre-headless # Enable ssh systemctl enable ssh