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

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.

主站蜘蛛池模板: 疏勒县| 朝阳区| 布尔津县| 台山市| 三门县| 松桃| 云安县| 九江市| 延川县| 株洲市| 成安县| 淄博市| 应用必备| 望谟县| 黄龙县| 新绛县| 平塘县| 三河市| 准格尔旗| 兴文县| 合阳县| 杨浦区| 河池市| 南皮县| 墨江| 将乐县| 德惠市| 灌南县| 西华县| 永兴县| 壤塘县| 班戈县| 定结县| 常德市| 米易县| 四川省| 德州市| 施秉县| 会昌县| 普陀区| 花莲市|