How do I install Java on Ubuntu 16?

How do I install Java on Ubuntu 16?
Answer
Installing the Default JRE/JDK
  1. Installing the Oracle JDK. To install the oracle JDK, use the following command – $ sudo add-apt-repository ppa:webupd8team/java. …
  2. Managing Java. There may be multiple Java installations on one server. …
  3. Setting the JAVA_HOME Environment Variable.
 

Tìm kiếm

Back
Top