

Its main advantage is apt fetches the software from repositories and resolves dependencies automatically. The apt command used to install OpenJDK is a frontend for dpkg. For example, to show if JDK is installed on the system and details, you can use dpkg with the -s flag. It has additional functions to package installation and removal, like printing information on installed programs. The removal instructions section shows that you can remove installed packages using dpkg with the -r flag followed by the package name.ĭpkg is Debian and based distribution packages manager. deb packages in Debian or similar distributions like Ubuntu.

The dpkg command with the -i (–install) option used in this tutorial is common to install. OpenJDK is licensed under GPL, which guarantees users the right to execute, study, modify, and share. JDK is still free for testing purposes, but costs and the improvement of the free alternative are increasing the OpenJDK public. OpenJDK is open source and well supported by the community users can modify it and contribute to its development. JDK is a paid license and is not open-source users can’t modify it. The main difference between OpenJDK and JDK is the same difference between most free open-source programs and their closed-coded counterparts.

The JAVA Development Kit to program Java applications is what you need to create your own applications you can find a tutorial to start programming Java at. It features multi-thread, neutral architecture, high performance, and security, among other characteristics. Java is a simple, object-oriented high-level programming language. For additional instructions to install JDK on other systems, visit the following links:
