- 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.
推薦閱讀
- C# 7 and .NET Core Cookbook
- UML和模式應用(原書第3版)
- Android和PHP開發最佳實踐(第2版)
- 跟“龍哥”學C語言編程
- Learning Informatica PowerCenter 10.x(Second Edition)
- The HTML and CSS Workshop
- 自制編程語言
- 深度學習:Java語言實現
- Xamarin Blueprints
- Django Design Patterns and Best Practices
- Node.js從入門到精通
- Visual Basic 程序設計實踐教程
- HTML5 WebSocket權威指南
- Blender 3D Cookbook
- Flutter之旅