当前位置: 首页 > >

ubuntu简单安装oracle,ubuntu下 Oracle JDK最简单安装方法

发布时间:

Hello Linux Geeksters.


In this article I will show you?how to install the Oracle Java (JDK) 8, Oracle Java (JDK + JRE) 7 or Oracle Java (JDK) 6 on Ubuntu 13.04, Ubuntu 12.10 and Ubuntu 12.04.


The Oracla Java has been removed from the official Ubuntu repositories due to some Java licence issues.


Before you install it, remove OpenJDK, if you have it installed:


$ sudo apt-get purge openjdk*


To install Java 8/7/6, do this:


In order not to get issues with the add-apt-repository command, install the following package:


$ sudo apt-get install software-properties-common


Add the PPA:


$ sudo add-apt-repository ppa:webupd8team/java


Update the repo index:


$ sudo apt-get update


Install Java 8:


$ sudo apt-get install oracle-java8-installer


Or, install Java 7:


$ sudo apt-get install oracle-java7-installer


Or, install Java 6:


$ sudo apt-get install oracle-java6-installer







相关资源:Ubuntu安装java的简单的命令行方式(推荐)



友情链接: