Fix: update JDK to 21 for reqwest4j
This commit is contained in:
parent
fa28aada0b
commit
5511823a73
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -69,7 +69,7 @@ cd_and_exec reqwest4j/reqwest-jni \
|
||||||
|
|
||||||
title 'Building reqwest4j without Rust library...'
|
title 'Building reqwest4j without Rust library...'
|
||||||
OLD_PATH="$PATH"
|
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"
|
export PATH="$JAVA_HOME/bin:$PATH"
|
||||||
cd_and_exec reqwest4j ./gradlew shadowJar
|
cd_and_exec reqwest4j ./gradlew shadowJar
|
||||||
cd_and_exec reqwest4j ./gradlew --stop
|
cd_and_exec reqwest4j ./gradlew --stop
|
||||||
|
|
Loading…
Add table
Reference in a new issue