在Ubuntu, Linux Mint, Elementary OS和Debian上安装NetBean

随着Oracle Java 8的发布,NetBeans IDE 8.0也一并发布,在这片文章将教大家在Ubuntu 14.04 Trusty Tahr, Ubuntu 13.10 Saucy Salamander, Ubuntu 12.10 Quantal Quetzal, Ubuntu 12.04 Precise Pangolin, Linux Mint 17 Qiana, Linux Mint 16 Petra, Linux Mint 14 Nadia, Linux Mint 13 Maya, Elementary OS 0.2 Luna, Debian 上安装NetBeans IDE 8.0。

在Ubuntu, Linux Mint, Elementary OS和Debian上安装NetBean

图为NetBeans IDE 87.2

在Ubuntu, Linux Mint, Elementary OS和Debian上安装NetBean

NetBeans IDE 8.0

首先我们需要安装Java 8:

在Ubuntu, Linux Mint and Elementary OS上安装,请使用下面的命令:

sudo apt-get purge openjdk*

sudo add-apt-repository ppa:webupd8team/java

sudo apt-get update

sudo apt-get install oracle-java8-installer

在Debian Wheezy上安装Java 8:

echo "deb precise main" | tee -a /etc/apt/sources.list

echo "deb-src precise main" | tee -a /etc/apt/sources.list

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

apt-get update

sudo apt-get install oracle-java8-installer

在Debian Jessie上安装Java 8:

echo "deb trusty main" | tee -a /etc/apt/sources.list

echo "deb-src trusty main" | tee -a /etc/apt/sources.list

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886

apt-get update

sudo apt-get install oracle-java8-installer

成功安装Java 8之后,我们就可以安装NetBeans IDE 8.0:

在32位的Ubuntu, Linux Mint, Elementary OS, Debian上安装NetBeans IDE 8.0:

wget download.oracle.com/otn-pub/java/jdk-nb/8-8.0/jdk-8-nb-8-linux-i586.sh

sudo chmod +x jdk-8-nb-8-linux-i586.sh

./jdk-8-nb-8-linux-i586.sh

在64位的Ubuntu, Linux Mint, Elementary OS, Debian上安装NetBeans IDE 8.0:

wget download.oracle.com/otn-pub/java/jdk-nb/8-8.0/jdk-8-nb-8-linux-x64.sh

sudo chmod +x jdk-8-nb-8-linux-x64.sh

sudo ./jdk-8-nb-8-linux-x64.sh

NetBeans 的详细介绍请点这里
NetBeans 的下载地址请点这里

推荐阅读:

Ubuntu 12.10 下Netbeans安装配置详解

Ubuntu Netbeans Xdebug 调试环境【真实环境测试】

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:http://www.heiqu.com/18349.html