![]() ![]() You can configure which version is the default for use on the command line by using the update-alternatives command. You can have multiple Java installations on one server. Now let’s look at how to select which version of Java you want to use. Accept the agreement and the JDK will install. Your system will download the JDK from Oracle and ask you to accept the license agreement. sudo apt install oracle-java8-installer. ![]() Once the package list updates, install Java 8: Press to continue or Ctrl-c to cancel adding it. More info (and Ubuntu installation instructions):įor Oracle Java 10, see a different PPA: Update: Oracle Java 9 has reached end of life: Important -> Why Oracle Java 7 And 6 Installers No Longer Work: Output Oracle Java (JDK) Installer (automatically downloads and installs Oracle JDK8). When you add the repository, you’ll see a message like this:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |