From 32944ed7417cd63276658a625c53a740867cfda9 Mon Sep 17 00:00:00 2001 From: Misha Chornyi Date: Sun, 17 Nov 2024 18:06:04 -0800 Subject: [PATCH] Hotfix for java --- src/java-api-bindings/scripts/install_dependencies_and_build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java-api-bindings/scripts/install_dependencies_and_build.sh b/src/java-api-bindings/scripts/install_dependencies_and_build.sh index c85f428c1..09fc04814 100755 --- a/src/java-api-bindings/scripts/install_dependencies_and_build.sh +++ b/src/java-api-bindings/scripts/install_dependencies_and_build.sh @@ -127,6 +127,7 @@ fi # Install jdk and maven mkdir -p ${BUILD_HOME} cd ${BUILD_HOME} +apt remove maven -y && apt autoremove -y apt update && apt install -y openjdk-11-jdk wget https://archive.apache.org/dist/maven/maven-3/${MAVEN_VERSION}/binaries/apache-maven-${MAVEN_VERSION}-bin.tar.gz tar zxvf apache-maven-${MAVEN_VERSION}-bin.tar.gz