revanced-cli/scripts/1-setup-environment.bat
2024-10-19 06:35:25 +02:00

30 lines
470 B
Batchfile

@echo off
echo Check, if OpenJDK/ Eclipse Temurin 11 or newer is installed.
pause
echo:
cd modules
call run java -version
cd ..
echo:
set /P INSTALLED_JAVA=Can you see OpenJDK/ Eclipse Temurin 11 or newer? (y/n)
if "%INSTALLED_JAVA%"=="y" (
echo The environment is set up.
pause
exit
)
cls
echo Install Eclipse Temurin JRE 21.
pause
cd modules
call install-java
cd ..
echo The environment is set up. Rerun this script to check your environment.
pause