install oracle java 8 on ubuntu & linuxmint....

2
4/5/2017 How to Install JAVA 8 (JDK/JRE 8u121) on Ubuntu & LinuxMint with PPA https://tecadmin.net/installoraclejava8ubuntuviappa/ 1/2 Install Oracle JAVA 8 on Ubuntu & LinuxMint. Oracle JAVA 8 Stable release has been released on Mar,18 2014 and available to download and install on official download page. The PPA of Oracle Java for Ubuntu and LinuxMint is being maintained by Webupd8 Team. JAVA 8 is released with many of new features and security updates, read more about whats new in Oracle Java 8. How to Install Oracle JAVA 8 on Debian Install Oracle JAVA on CentOS/RHEL & Fedora This tutorial will help you to install Oracle JAVA 8 (JDK/JRE 8u121) on Ubuntu 16.10, 16.04, 15.10, 14.04 and 12.04 LTS and LinuxMint systems using PPA. Install Oracle JAVA 8 First of all you need to add webupd8team Java PPA repository in your system. After that install, Oracle Java 8 using following a set of commands. $ sudo add‐apt‐repository ppa:webupd8team/java $ sudo apt‐get update $ sudo apt‐get install oracle‐java8‐installer Verify Installed Java Version After successfully installing oracle Java using above step verify installed version using the following command. rahul@tecadmin:~$ java ‐version java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121‐b13) Java HotSpot(TM) 64‐Bit Server VM (build 25.121‐b13, mixed mode, sharing) Configuring Java Environment

Upload: nguyendiep

Post on 15-Jun-2019

221 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Install Oracle JAVA 8 on Ubuntu & LinuxMint. …deeplearning.lipingyang.org/wp-content/uploads/2017/04/...This tutorial will help you to install Oracle JAVA 8 (JDK/JRE 8u121) on Ubuntu

4/5/2017 How to Install JAVA 8 (JDK/JRE 8u121) on Ubuntu & LinuxMint with PPA

https://tecadmin.net/install­oracle­java­8­ubuntu­via­ppa/ 1/2

Install Oracle JAVA 8 on Ubuntu & LinuxMint. Oracle JAVA 8 Stable release has been released on Mar,182014 and available to download and install on official download page. The PPA of Oracle Javafor Ubuntu and LinuxMint is being maintained by Webupd8 Team. JAVA 8 is released with many of newfeatures and security updates, read more about whats new in Oracle Java 8.

How to Install Oracle JAVA 8 on DebianInstall Oracle JAVA on CentOS/RHEL & Fedora

This tutorial will help you to install Oracle JAVA 8 (JDK/JRE 8u121) on Ubuntu 16.10, 16.04, 15.10, 14.04 and12.04 LTS and LinuxMint systems using PPA.

Install Oracle JAVA 8First of all you need to add webupd8team Java PPA repository in your system. After that install, Oracle Java 8using following a set of commands.

$ sudo add‐apt‐repository ppa:webupd8team/java $ sudo apt‐get update $ sudo apt‐get install oracle‐java8‐installer 

Verify Installed Java VersionAfter successfully installing oracle Java using above step verify installed version using the following command.

rahul@tecadmin:~$ java ‐version  

java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121‐b13) Java HotSpot(TM) 64‐Bit Server VM (build 25.121‐b13, mixed mode, sharing) 

Configuring Java Environment

Page 2: Install Oracle JAVA 8 on Ubuntu & LinuxMint. …deeplearning.lipingyang.org/wp-content/uploads/2017/04/...This tutorial will help you to install Oracle JAVA 8 (JDK/JRE 8u121) on Ubuntu

4/5/2017 How to Install JAVA 8 (JDK/JRE 8u121) on Ubuntu & LinuxMint with PPA

https://tecadmin.net/install­oracle­java­8­ubuntu­via­ppa/ 2/2

Also, install java configuration package. It seems like below package is already installed with latest operatingsystems during installation of JAVA packages. But you can still make sure by running below command.

$ sudo apt‐get install oracle‐java8‐set‐default 

Now edit /etc/environment configuration file and add following entries toset JAVA_HOME and JRE_HOME environment variables.

JAVA_HOME=/usr/lib/jvm/java‐8‐oracle JRE_HOME=/usr/lib/jvm/java‐8‐oracle/jre 

https://www.youtube.com/watch?v=JQxIFr4zRRs

Finally, You have successfully installed Java 8 on your system.