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 |