Skip to content

Commit

Permalink
[doc]Update to JDK17 for 3.0 and dev versions of compilation-linux.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tiger3q committed Dec 11, 2024
1 parent 5f78d78 commit cc31b4d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/install/source-install/compilation-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ This guide is about how to compile Doris on Linux using Ubuntu 16.04 or later ve

## Make sure you have the following system dependencies installed.

GCC 10+, Oracle JDK 8+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+, Bison 3.0+
GCC 10+, Oracle JDK 17+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+, Bison 3.0+

```Plain
sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo apt install build-essential openjdk-17-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-10 g++-10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ under the License.

## 1 确保拥有以下系统依赖

GCC 10+, Oracle JDK 8+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+ , Bison 3.0+
GCC 10+, Oracle JDK 17+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+ , Bison 3.0+

```Plain
sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo apt install build-essential openjdk-17-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-10 g++-10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ under the License.

## 1 确保拥有以下系统依赖

GCC 10+, Oracle JDK 8+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+ , Bison 3.0+
GCC 10+, Oracle JDK 17+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+ , Bison 3.0+

```Plain
sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo apt install build-essential openjdk-17-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-10 g++-10
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ This guide is about how to compile Doris on Linux using Ubuntu 16.04 or later ve

## Make sure you have the following system dependencies installed.

GCC 10+, Oracle JDK 8+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+, Bison 3.0+
GCC 10+, Oracle JDK 17+, Python 2.7+, Apache Maven 3.5+, CMake 3.19.2+, Bison 3.0+

```Plain
sudo apt install build-essential openjdk-8-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo apt install build-essential openjdk-17-jdk maven cmake byacc flex automake libtool-bin bison binutils-dev libiberty-dev zip unzip libncurses5-dev curl git ninja-build python
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa
sudo apt update
sudo apt install gcc-10 g++-10
Expand Down

0 comments on commit cc31b4d

Please sign in to comment.