Javaバージョンの切り替え


環境変数Path

Program Files\java

Program Files\java\script

Java8.bat
@echo off
set JAVA_HOME=C:\Program Files\Java\jdk1.8.0_301
set Path=%JAVA_HOME%\bin;%Path%
echo Java 8 activated.
実行結果

出撃:https://ichi.pro/ko/windowseseo-yeoleo-jdk-java-gan-e-jeonhwanhaneun-bangbeob-188808991195692