This is an automated email from the ASF dual-hosted git repository.
zykkk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new ec4fc1f9ef [typo](doc) fix be java env faq (#22462)
ec4fc1f9ef is described below
commit ec4fc1f9ef3cde5c16f7bec368d9acff44973804
Author: gnehil <[email protected]>
AuthorDate: Wed Aug 2 21:50:33 2023 +0800
[typo](doc) fix be java env faq (#22462)
---
docs/en/docs/faq/install-faq.md | 2 +-
docs/zh-CN/docs/faq/install-faq.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/en/docs/faq/install-faq.md b/docs/en/docs/faq/install-faq.md
index 81a816c135..a2cb8e0701 100644
--- a/docs/en/docs/faq/install-faq.md
+++ b/docs/en/docs/faq/install-faq.md
@@ -309,7 +309,7 @@ If the following `Failed to initialize JNI` error occurs
when starting BE after
```
Failed to initialize JNI: Failed to find the library libjvm.so.
```
-You need to set the `JAVA_HOME` environment variable, or add `export
JAVA_HOME=your_java_home_path` in the first line of the `start_be.sh` startup
script, and then restart the BE node.
+You need to set the `JAVA_HOME` environment variable, or set `JAVA_HOME`
variable in be.conf and restart the BE node.
### Q17. Docker: backend fails to start
This may be due to the CPU not supporting AVX2, check the backend logs with
`docker logs -f be`.
diff --git a/docs/zh-CN/docs/faq/install-faq.md
b/docs/zh-CN/docs/faq/install-faq.md
index d9d2c78e42..e93bb26588 100644
--- a/docs/zh-CN/docs/faq/install-faq.md
+++ b/docs/zh-CN/docs/faq/install-faq.md
@@ -313,4 +313,4 @@ Caused by: java.lang.ClassNotFoundException:
org.apache.doris.udf.JniUtil
```
Failed to initialize JNI: Failed to find the library libjvm.so.
```
-需要在系统设置 `JAVA_HOME` 环境变量,或者在 `start_be.sh` 启动脚本第一行添加 `export
JAVA_HOME=your_java_home_path`,然后重新启动 BE 节点。
+需要在系统设置 `JAVA_HOME` 环境变量,或者在 be.conf 中设置 `JAVA_HOME` 变量,然后重新启动 BE 节点。
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]