Through this series we see how to install Java. In this article, we will look specifically at installing on Linux distributions that use apt-get such as Debian and Ubuntu.

Java is often not installed by default and is not always straightforward to install, so we shall present how to install it on a number of operating systems.

JDK or JRE?

If you only want to run Java programs, just the JRE (Java Runtime Environment) is necessary. If you want to develop Java programs, the JDK (Java Development Kit) is required.

Parts of this series