You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by fe...@apache.org on 2026/08/22 14:14:14 UTC
(iotdb) 01/01: Add the setting for JAVA_HOME in the start-cli.bat file
This is an automated email from the ASF dual-hosted git repository.
FLOW4215 pushed a commit to branch FLOW4215-patch-1
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 01b0969d5e9ec65873c1a33841ebea0418ac6605
Author: 冯庆新 <qi...@hotmail.com>
AuthorDate: Sat Aug 22 22:14:03 2026 +0800
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 8849e3ca431..41c8de103a7 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"