본문 바로가기

Linux/Ubuntu

ubuntu 12.04 jdk 설치

[출처] : http://www.upubuntu.com/2012/03/how-to-install-oracle-java-7-jdk-jre.html


In this tutorial we will help you install Oracle Java 7 under Ubuntu 12.04/11.10. The installation is very simple due to the use of PPA, the installer will install all required packages including Oracle JDK 7,  Oracle JRE 7, and  the browser plugin. 

Close all running web browsers, then open the terminal under Ubuntu 12.04/11.10 and run these commands:

sudo add-apt-repository ppa:upubuntu-com/java


sudo apt-get update


sudo apt-get install oracle-java7-installer

After finishing the installation of Oracle Java 7, open Firefox and go to Add-ons Manager and make sure that the Java Plugin is well installed and enabled:


To uninstall Oracle Java 7, run this sequence of commands:

sudo apt-get install ppa-purge


sudo ppa-purge ppa:upubuntu-com/java


sudo apt-get remove oracle-java7-installer 


sudo apt-get update

That's it!

'Linux > Ubuntu' 카테고리의 다른 글

ftp 접속시 오류(ftp: bind: Address already in use)  (0) 2014.06.09
12.04에서 JDK6 설치하기  (0) 2014.03.12
11.04에서 sun-jdk install  (0) 2011.07.12
FTP 서버 설정하는 방법  (0) 2009.04.23
리눅스용 파일 비교 GUI  (0) 2009.04.07