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 57e0fa448c [typo](docs) Change the jdk version on the macOS to 11
(#22522)
57e0fa448c is described below
commit 57e0fa448c27698b19edae0eabd773752bf298c9
Author: zy-kkk <[email protected]>
AuthorDate: Wed Aug 2 21:47:14 2023 +0800
[typo](docs) Change the jdk version on the macOS to 11 (#22522)
---
docs/en/community/developer-guide/mac-dev/dev-prepare.md | 6 ++++--
docs/en/docs/install/source-install/compilation-mac.md | 9 +++++++--
docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md | 6 ++++--
docs/zh-CN/docs/install/source-install/compilation-mac.md | 8 ++++++--
4 files changed, 21 insertions(+), 8 deletions(-)
diff --git a/docs/en/community/developer-guide/mac-dev/dev-prepare.md
b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
index 7ffefcce22..7fda6dc954 100644
--- a/docs/en/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/en/community/developer-guide/mac-dev/dev-prepare.md
@@ -28,9 +28,11 @@ under the License.
```shell
brew install automake autoconf libtool pkg-config texinfo coreutils gnu-getopt
\
-python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@16
openjdk@8 npm
+python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@16
openjdk@11 npm
```
-
+
+*The version of jdk installed using brew is 11, because on macOS, the arm64
version of brew does not have version 8 of jdk by default*
+
**Dependency description:**
1. Java, Maven, etc. can be downloaded separately for easy management
- Mac recommend [Zulu
JDK8](https://www.azul.com/downloads/?version=java-8-lts&os=macos&package=jdk#zulu)
diff --git a/docs/en/docs/install/source-install/compilation-mac.md
b/docs/en/docs/install/source-install/compilation-mac.md
index 7c6f0bd554..ec9171cc32 100644
--- a/docs/en/docs/install/source-install/compilation-mac.md
+++ b/docs/en/docs/install/source-install/compilation-mac.md
@@ -38,9 +38,13 @@ This topic is about how to compile Doris from source with
macOS (both x86_64 and
1. Use [Homebrew](https://brew.sh/) to install dependencies.
```shell
brew install automake autoconf libtool pkg-config texinfo coreutils
gnu-getopt \
- python@3 cmake ninja ccache bison byacc gettext wget pcre maven
llvm@16 openjdk@8 npm
+ python@3 cmake ninja ccache bison byacc gettext wget pcre maven
llvm@16 openjdk@11 npm
```
+:::tip
+The version of jdk installed using brew is 11, because on macOS, the arm64
version of brew does not have version 8 of jdk by default
+:::
+
2. Compile from source.
```shell
bash build.sh
@@ -110,4 +114,5 @@ This topic is about how to compile Doris from source with
macOS (both x86_64 and
To fix this, please refer to the "Start-up" section above and reset `file
descriptors`.
2. Java Version
- Java 8 is recommended.
+
+ The version of jdk installed with brew is 11, because on macOS, the arm64
version of brew does not have version 8 of jdk by default, and you can also
download the jdk installation package for installation
\ No newline at end of file
diff --git a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
index 1e2c707bba..aba6f10bde 100644
--- a/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
+++ b/docs/zh-CN/community/developer-guide/mac-dev/dev-prepare.md
@@ -28,9 +28,11 @@ under the License.
```shell
brew install automake autoconf libtool pkg-config texinfo coreutils gnu-getopt
\
-python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@16
openjdk@8 npm
+python@3 cmake ninja ccache bison byacc gettext wget pcre maven llvm@16
openjdk@11 npm
```
-
+
+*使用 brew 安装的 jdk 版本为 11,因为在 macOS上,arm64 版本的 brew 默认没有 8 版本的 jdk*
+
**依赖说明:**
1. Java、Maven 等可以单独下载,方便管理
- Mac 推荐 [Zulu
JDK8](https://www.azul.com/downloads/?version=java-8-lts&os=macos&package=jdk#zulu)
diff --git a/docs/zh-CN/docs/install/source-install/compilation-mac.md
b/docs/zh-CN/docs/install/source-install/compilation-mac.md
index 5bf38a19a7..211d451f67 100644
--- a/docs/zh-CN/docs/install/source-install/compilation-mac.md
+++ b/docs/zh-CN/docs/install/source-install/compilation-mac.md
@@ -38,9 +38,13 @@ under the License.
1. 使用[Homebrew](https://brew.sh/)安装依赖
```shell
brew install automake autoconf libtool pkg-config texinfo coreutils
gnu-getopt \
- python@3 cmake ninja ccache bison byacc gettext wget pcre maven
llvm@16 openjdk@8 npm
+ python@3 cmake ninja ccache bison byacc gettext wget pcre maven
llvm@16 openjdk@11 npm
```
+:::tip
+使用 brew 安装的 jdk 版本为 11,因为在 macOS上,arm64 版本的 brew 默认没有 8 版本的 jdk
+:::
+
2. 编译源码
```shell
bash build.sh
@@ -111,4 +115,4 @@ under the License.
2. Java版本
- 推荐使用Java 8。
+ 使用 brew 安装的 jdk 版本为 11,因为在 macOS上,arm64 版本的 brew 默认没有 8 版本的 jdk,也可以自行下载 jdk
的安装包进行安装
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]