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

  • Spring 5.0 By Example
  • Claudio Eduardo de Oliveira
  • 155字
  • 2021-06-24 19:17:28

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.

主站蜘蛛池模板: 水城县| 岱山县| 营山县| 武强县| 澜沧| 莎车县| 商南县| 灌云县| 高邑县| 安岳县| 长葛市| 临潭县| 西华县| 察隅县| 涿州市| 临朐县| 哈密市| 永修县| 泾阳县| 阿勒泰市| 沐川县| 马尔康县| 长沙县| 西畴县| 沧州市| 凤阳县| 郑州市| 台山市| 潮州市| 盐边县| 马尔康县| 无棣县| 顺昌县| 柏乡县| 元阳县| 宜春市| 梅河口市| 南江县| 蒙阴县| 抚顺市| 囊谦县|