tar.gz (tarball) by heading over to their website. Installing Oracle HotSpot JREĭuration: 5:00 Downloading the Oracle HotSpot JRE binariesĭownload JRE binaries in. In the next step we’ll install Oracle HotSpot JRE. (Although the output may change in the future as new Java versions are promoted to LTS status, or the current LTS version receives updates.) OpenJDK 64-Bit Server VM (build 11.0.11+9-Ubuntu-0ubuntu2, mixed mode) OpenJDK Runtime Environment (build 11.0.11+9-Ubuntu-0ubuntu2) It should output the following: openjdk version "11.0.11" We can check if OpenJDK JRE was properly installed by running: java -version To install the OpenJDK JRE, we run: sudo apt install default-jre (Alternatively, you may opt to use a specific Java version, using for example the openjdk-11-jre package as updates are released for that version of the Java Virtual Machine, that packages will be updated, allowing you to stick to the latest and greatest update of one specific version of the Java language.) The default-jre is an excellent choice for most situations, thanks to the outstanding track of backwards compatibility of the Java Virtual Machine. Ubuntu offers the default-jre package, which is regularly updated to ship the latest version of the current OpenJDK JRE in Long Term Support (LTS). Moreover, the non LTS versions of Java are bringing a steady stream of innovation into the language, and also see some adoption. Nowadays, Java 11 is the current Long Term Support (LTS) version, but Java 8 is still widely used. With new versions of Java released every 6 months, there are multiple versions available for use. If you have that, let’s proceed to the next step! Installing OpenJDK JRE Of course, you generally only need to pick the one that best suits your needs and preferences. In this guide, we’ll be going through the installation of both JRE packages. Using one package over the other should not create any functional difference in most applications however, some prefer OpenJDK over Oracle HotSpot as the former does not contain closed-source components, has a much clearer licensing and support policy, and is maintained as part of the Ubuntu archive, with easier installation and upgrades. Nowadays there are many JRE packages available from a variety of projects and companies, but the two most popular on Ubuntu are OpenJDK and Oracle HotSpot. The Java Runtime Environment (JRE) is required to run Java programs. Installation of Java Runtime Environment (JRE) on Ubuntu
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |