This article will help you to Install Oracle JAVA 8 (JDK/JRE 8u91) on Ubuntu 16.04, 15.10, 14.04 & 12.04 LTS and 10.04 and LinuxMint systems using PPA. To Install Java 8 in CentOS, Redhat and Fedora read This Article.
Installing Java 8 on Ubuntu
First you need to add webupd8team Java PPA repository in your system and install Oracle Java 8 using following set of commands.
$ sudoadd-apt-repository ppa:webupd8team/java $ sudoapt-get update $ sudoapt-get install oracle-java8-installer
Verify Installed Java Version
After successfully installing oracle Java using above step verify installed version using following command.
rahul@tecadmin:~$ java -version java version "1.8.0_91 " Java(TM) SE Runtime Environment (build 1.8.0_91-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)
Configuring Java Environment
In Webupd8 ppa repository also providing a package to set environment variables, Install this package using following command.
$ sudo apt-getinstall oracle-java8-set-default
반응형
'Linux' 카테고리의 다른 글
[OS] FreeBSD 시스템 모니터링 유틸( systat ) (0) | 2010.12.21 |
---|---|
RRDTOOL을 이용한 모니터링 툴 CACTI (on FreeBSD) (0) | 2010.12.21 |
freebsd 성능향상 (0) | 2010.11.20 |
freebsd mail 관련 (0) | 2010.11.20 |
아파치 특정폴더에 암호걸기 (0) | 2010.11.05 |