From 5511823a73ba4f3336fce56a60057b97039e87fc Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 4 Apr 2024 20:17:34 +0400 Subject: [PATCH] Fix: update JDK to 21 for reqwest4j --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 12d2733..4475842 100755 --- a/build.sh +++ b/build.sh @@ -69,7 +69,7 @@ cd_and_exec reqwest4j/reqwest-jni \ title 'Building reqwest4j without Rust library...' OLD_PATH="$PATH" -export JAVA_HOME="/usr/lib/jvm/java-17-openjdk" +export JAVA_HOME="/usr/lib/jvm/java-21-openjdk" export PATH="$JAVA_HOME/bin:$PATH" cd_and_exec reqwest4j ./gradlew shadowJar cd_and_exec reqwest4j ./gradlew --stop