Fix: update JDK to 21 for reqwest4j

This commit is contained in:
DarkCat09 2024-04-04 20:17:34 +04:00
parent fa28aada0b
commit 5511823a73
Signed by: DarkCat09
GPG key ID: 0A26CD5B3345D6E3

View file

@ -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