You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by cr...@apache.org on 2025/02/19 04:19:25 UTC
(iotdb) branch wx_fixjavahome_dev1.3 created (now 56631f29ac8)
This is an automated email from the ASF dual-hosted git repository.
critas pushed a change to branch wx_fixjavahome_dev1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 56631f29ac8 Fix the incorrect configuration of the JAVA_HOME environment variable in script." (#14893)
This branch includes the following new commits:
new 56631f29ac8 Fix the incorrect configuration of the JAVA_HOME environment variable in script." (#14893)
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(iotdb) 01/01: Fix the incorrect configuration of the JAVA_HOME environment variable in script." (#14893)
Posted by cr...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
critas pushed a commit to branch wx_fixjavahome_dev1.3
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 56631f29ac8ccbb86e55db7df2a417889c27d4ce
Author: CritasWang <cr...@outlook.com>
AuthorDate: Wed Feb 19 12:05:32 2025 +0800
Fix the incorrect configuration of the JAVA_HOME environment variable in script." (#14893)
---
iotdb-core/datanode/src/assembly/resources/sbin/start-datanode.bat | 2 +-
iotdb-core/node-commons/src/assembly/resources/sbin/health_check.bat | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/iotdb-core/datanode/src/assembly/resources/sbin/start-datanode.bat b/iotdb-core/datanode/src/assembly/resources/sbin/start-datanode.bat
index c6fd64e8fb3..fcbce7ed4b0 100755
--- a/iotdb-core/datanode/src/assembly/resources/sbin/start-datanode.bat
+++ b/iotdb-core/datanode/src/assembly/resources/sbin/start-datanode.bat
@@ -29,7 +29,7 @@ echo ````````````````````````
@REM -----------------------------------------------------------------------------
@REM SET JAVA
-PATH %PATH%;%JAVA_HOME%\bin\
+set PATH="%JAVA_HOME%\bin\";%PATH%
set "FULL_VERSION="
set "MAJOR_VERSION="
set "MINOR_VERSION="
diff --git a/iotdb-core/node-commons/src/assembly/resources/sbin/health_check.bat b/iotdb-core/node-commons/src/assembly/resources/sbin/health_check.bat
index 14a0e4700cb..78b2ce5930c 100644
--- a/iotdb-core/node-commons/src/assembly/resources/sbin/health_check.bat
+++ b/iotdb-core/node-commons/src/assembly/resources/sbin/health_check.bat
@@ -87,7 +87,7 @@ set "preip="
set "iplist="
set "allpreip="
-PATH %PATH%;%JAVA_HOME%\bin\
+set PATH="%JAVA_HOME%\bin\";%PATH%
set "FULL_VERSION="
set "MAJOR_VERSION="
set "MINOR_VERSION="