Ignore any number that comes after the - hyphen in the package version number ( 1 in the example screenshot above). In this case, we can see that the installer is expecting version 11.0.4. We’ll download the install from this repository in the next step, but for now look for the oracle-java11-installer-local. We can check what version the installer needs by visiting the package listing of the installer’s software repository. We need to make sure we’re downloading the correct version of Java, because it needs to match what the installer is expecting. If you don’t already have an Oracle account, create one at Oracle’s account creation page.Īfterwards, navigate to Oracle’s Java SE Downloads page: Downloading Oracle’s Java SE Software Packageĭue to recent changes in the way Oracle handles Java licensing, you’ll need to create an Oracle account and download the software directly from their website before continuing with the installation. To install the official Oracle JDK, we’ll need to download some files directly from Oracle, then install them using an installer we’ll fetch from a third-party repository.įirst, let’s download Java from Oracle’s website. Next, let’s look at how to install Oracle’s official JDK and JRE. If Java is not currently installed, you’ll see the following output: Next, check if Java is already installed: To install the OpenJDK version of Java, first update your apt package index: Java 11 is the current Long Term Support version of Java. By default, Debian 10 includes OpenJDK version 11, which is an open-source variant of the JRE and JDK, and is compatible with Java 11. The easiest option for installing Java is to use the version packaged with Debian. You can set this up by following our Debian 10 initial server setup guide.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |