From 01b0969d5e9ec65873c1a33841ebea0418ac6605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=AF=E5=BA=86=E6=96=B0?= Date: Sat, 22 Aug 2026 22:14:03 +0800 Subject: [PATCH] Add the setting for JAVA_HOME in the start-cli.bat file Add the JAVA_HOME setting to the start-cli.bat file, which is commented out by default. This is because during the construction of the JDK test scenario, it was discovered that the cli script lacked a configuration item for manually specifying the JDK. --- scripts/sbin/windows/start-cli.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/sbin/windows/start-cli.bat b/scripts/sbin/windows/start-cli.bat index 8849e3ca43119..41c8de103a777 100644 --- a/scripts/sbin/windows/start-cli.bat +++ b/scripts/sbin/windows/start-cli.bat @@ -126,6 +126,7 @@ REM CLASSPATH setup set "CLASSPATH=%IOTDB_HOME%\lib\*" REM JAVA executable +REM set JAVA_HOME=%JAVA_HOME% if defined JAVA_HOME ( if exist "%JAVA_HOME%\bin\java.exe" ( set "JAVA=%JAVA_HOME%\bin\java.exe"