mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2026-03-28 02:31:17 +01:00
tauri jdk25 and docs (#5814)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user