Download OpenJDK11 source code in Ubuntu environment

The Ubuntu version is 16.04.5 LTS. In this environment, download the source code of OpenJDK11 in the official recommended way. The official document address: https://hg.openjdk.java.net/jdk/jdk11/raw-file/tip/doc/building.html#getting-the-source-code

Introduction to operation steps###

There are three steps in total: first install pip, then use pip to install Mercurial, and then use Mercurial to download the source code;

operating###

  1. Install pip, execute the following command:
apt-get install python-pip
  1. To install Mercurial via pip, execute the following command:
pip install mercurial
  1. Download the source code, execute the following command
hg clone http://hg.openjdk.java.net/jdk/jdk11

Note that this step is a painful process, during which it has experienced a long time of waiting, failure, and retries, and finally successfully completed using Amazon's AWS server. The server room is in the western United States (Oregon). The prompt after successful operation is as follows:

At this time, a folder named jdk11 can be seen in the current directory, which is the source code of OpenJDK11;

Recommended Posts

Download OpenJDK11 source code in Ubuntu environment
Edit OpenJDK11 source code in Ubuntu environment
How to compile and install xdebug from source code in Ubuntu environment
Compile and install OpenJDK8 from source code under Ubuntu 18.04.1
Android source code compilation (ubuntu16.04 64-bit)
How to easily compile openJDK in Ubuntu
Configure Java development environment in Ubuntu20.04 LTS
About installing node environment in Ubuntu server
Ubuntu 18.04 source code compile and install ffmpeg4.1
How to modify software source in Ubuntu 7.10
Ubuntu 18.04 install Odoo14 tutorial through source code
Docker those things in the Ubuntu environment
Advantages of using apt command to download management package in Ubuntu environment
How to configure TensorFlow use environment in Ubuntu
How to install python in ubuntu server environment
Install Python3 environment in a brand new Ubuntu
Remotely connect to MySQL database in Ubuntu environment
Installation and use of SSH in Ubuntu environment
ubuntu replacement source
Installation and simple practice of MySQL in ubuntu environment (1)
How to create a Python virtual environment in Ubuntu 14.04
Tutorial for setting up FTP server in Ubuntu 16.04 environment
Resolve the problems encountered in the linux environment under ubuntu
Nagios3 in ubuntu serve
ubuntu16.04 deploy GPU environment
Ubuntu update software source
Install OpenJDK10 under Ubuntu
Ubuntu configuration development environment
Use supervisor in ubuntu
Ubuntu make offline source
Ubuntu development environment configuration
Python virtual environment: Ubuntu16.04
Ubuntu Touch environment setup
Install python in Ubuntu
Install JDK in Ubuntu19.10
Ubuntu18.10 configure Java environment
ubuntu 14.04 16.04 18.04 use Alibaba source
ubuntu environment deployment project
Find the kernel source code corresponding to the running Ubuntu version
How to install memcache and start it in ubuntu environment
Encountered in the process of building a virtual environment in ubuntu
Detailed steps for installing Django under Python 3.6 in Ubuntu 16.04 environment
How to compile and install PHP and Nginx in Ubuntu environment