Next, check if Java is already installed: java -version To install this version, first, update the package index: sudo apt update By default, Ubuntu 18.04 includes OpenJDK version 11, which is an open-source variant of the JRE and JDK. The easiest option for installing Java is to use the version packaged with Ubuntu. When you’re finished, you’ll be able to use the JDK to develop software or use the Java Runtime to run the software. You’ll then select the version you wish to use for your projects. You’ll install OpenJDK as well as official packages from Oracle. In this guide, you will install various versions of the Java Runtime Environment (JRE) and the Java Developer Kit (JDK) using apt.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |