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

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.

主站蜘蛛池模板: 华容县| 武功县| 麻阳| 宿州市| 灵台县| 忻州市| 阿坝| 望奎县| 乐业县| 肇源县| 确山县| 文山县| 乌拉特后旗| 若尔盖县| 通河县| 罗源县| 通城县| 梁平县| 青神县| 观塘区| 时尚| 黎城县| 大同县| 西宁市| 赫章县| 河源市| 上高县| 光泽县| 永新县| 武穴市| 苏尼特右旗| 尼勒克县| 深泽县| 会东县| 牡丹江市| 微博| 琼结县| 长岛县| 德令哈市| 乐平市| 奈曼旗|