tauri jdk25 and docs (#5814)

This commit is contained in:
Anthony Stirling
2026-03-03 13:49:33 +00:00
committed by GitHub
parent 93d7919c4c
commit 1b68a513a9
9 changed files with 17 additions and 17 deletions

View File

@@ -54,8 +54,8 @@ if errorlevel 1 (
exit /b 1
)
set "JAVA_EFFECTIVE_MAJOR=%JAVA_EFFECTIVE_MAJOR_NUM%"
if %JAVA_EFFECTIVE_MAJOR% LSS 17 (
echo ❌ Java 17 or higher is required. Found Java %JAVA_EFFECTIVE_MAJOR%
if %JAVA_EFFECTIVE_MAJOR% LSS 21 (
echo ❌ Java 21 or higher is required. Found Java %JAVA_EFFECTIVE_MAJOR%
exit /b 1
)
echo ✅ Java %JAVA_EFFECTIVE_MAJOR% and jlink detected

View File

@@ -44,8 +44,8 @@ if ! command -v jlink &> /dev/null; then
fi
JAVA_VERSION=$(java -version 2>&1 | head -n 1 | cut -d'"' -f2 | cut -d'.' -f1)
if [ "$JAVA_VERSION" -lt 17 ]; then
print_error "Java 17 or higher is required. Found Java $JAVA_VERSION"
if [ "$JAVA_VERSION" -lt 21 ]; then
print_error "Java 21 or higher is required. Found Java $JAVA_VERSION"
exit 1
fi