If you download an RPM or DEB file from, then you can use your package manager to install it.įor Fedora, CentOS, RHEL, and similar, download the RPM and install it using DNF: $ sudo dnf install zulu *linux.x86_64.rpmįor Debian, Ubuntu, Pop_OS, and similar distributions, download the DEB package and install it using Apt: $ sudo dpkg -i zulu *linux_b $ tar -extract -file openjdk *linux-圆4_ \ If you don't know what's in your PATH, take a look to find out: Instead, you choose a convenient place in your PATH. This is often called a "local" install because you're not installing Java to a "global" location. If you download a TAR file from either or Azul, you must install it manually.
You can find downloads of OpenJDK at in the form of a tarball requiring manual installation, or you can download the Zulu Community edition from Azul in the form of a tarball or installable RPM or DEB packages. If you can't find a JRE or JDK in your repository, or the ones you find don't fit your needs, you can download open source Java packages from the internet. Search on OpenJDK and look for either the most recent JRE or JVM if you're a user and for the most recent JDK if you're a developer. There are probably many many Java-related packages in your repository. In this case, the default-jre package is appropriate for users, and the default-jdk is suitable for developers.įor example, to install the JRE on Debian: $ sudo apt install default-jre On Linux, you can have several different versions of Java installed all at once, and they won't interfere with one another. When an application tells you that you need Java 12, but your repository only has Java 8, it's fine to install whatever implementation of Java 12 you can find from a reliable source.
If you feel overwhelmed by the choices, then the easy answer of which Java implementation you should install is whichever is easiest for you to install.
The IcedTea project is essentially OpenJDK, but its goal is to make it easier for users to build and deploy OpenJDK when using fully free and open source tools. Oracle bundles proprietary components with its Java downloads, while the OpenJDK project is fully open source. Luckily, Java is an open source technology, so if you're not happy with the way Oracle maintains the project, you have other options. When Sun Microsystems was bought by Oracle, Java was a major part of the sale. What's the difference between OpenJDK, IcedTea, and OracleJDK?
An introduction to programming with Bash.A guide to building a video game with Python.