mirror of
https://github.com/revanced/revanced-cli.git
synced 2025-04-29 22:24:36 +02:00
30 lines
470 B
Batchfile
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
|