官术网_书友最值得收藏!

Installing OpenJDK

OpenJDK is a stable, free, and open source Java development kit. This package will be required for everything related to code compilation and runtime environments. 

Also, it is possible to use an Oracle JDK, but you should pay attention to the License and Agreements

To install OpenJDK, we will open a terminal and run the following command:

sudo apt-get install openjdk-8-jdk -y
We can find more information on how to install Java 8 JDK in the installation section ( http://openjdk.java.net/install/) of the OpenJDK page.

Check the installation using the following command:

java -version

You should see the OpenJDK version and its relevant details displayed as follows:

Now that we have installed the Java development kit, we are ready for the next step. In the real world, we must have a build tool to help developers to compile, package, and test the Java applications.

Let's install Maven in the next section.

主站蜘蛛池模板: 卢湾区| 芦山县| 昌平区| 大渡口区| 富源县| 嵩明县| 若羌县| 吉木萨尔县| 松原市| 新营市| 荥经县| 保定市| 岑巩县| 林芝县| 诏安县| 余庆县| 讷河市| 赤水市| 宣恩县| 岳普湖县| 益阳市| 揭阳市| 疏勒县| 大城县| 浙江省| 鄱阳县| 衡南县| 十堰市| 泾川县| 岳普湖县| 南涧| 博客| 固安县| 克什克腾旗| 陆良县| 驻马店市| 洛浦县| 汶川县| 鸡东县| 富川| 柯坪县|