- 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.
推薦閱讀
- Boost.Asio C++ Network Programming(Second Edition)
- C語(yǔ)言程序設(shè)計(jì)基礎(chǔ)與實(shí)驗(yàn)指導(dǎo)
- 三維圖形化C++趣味編程
- Dependency Injection in .NET Core 2.0
- PyTorch自然語(yǔ)言處理入門(mén)與實(shí)戰(zhàn)
- Mastering PHP Design Patterns
- 你必須知道的204個(gè)Visual C++開(kāi)發(fā)問(wèn)題
- Apache Spark 2.x for Java Developers
- Angular開(kāi)發(fā)入門(mén)與實(shí)戰(zhàn)
- PrimeFaces Blueprints
- Web前端開(kāi)發(fā)技術(shù):HTML、CSS、JavaScript
- 大學(xué)計(jì)算機(jī)應(yīng)用基礎(chǔ)(Windows 7+Office 2010)(IC3)
- 優(yōu)化驅(qū)動(dòng)的設(shè)計(jì)方法
- 信息學(xué)奧林匹克競(jìng)賽初賽精講精練
- Web前端開(kāi)發(fā)全程實(shí)戰(zhàn):HTML5+CSS3+JavaScript+jQuery+Bootstrap