Ubuntu_ install JDK on Ubuntu 12.04

If you are a Java developer or a beginner, who just installed Ubuntu 12.04 LTS (Precise Pangolin) then JDK (Java Development Kit) is the first thing you want to install (although you might consider installing these essential things too).

In the previous version of Ubuntu, sun-jdk was also available – in 12.04 you might install it from an external PPA but it’s not recommended better try open-jdk or oracle-jdk (Oh!, I don’t recommend this either). So this post might help you in setting up Java development environment on Ubuntu 12.04 LTS.

Although, this post explains only about JDK but you may like to setup Eclipse (Most Popular IDE for Java programmers) IDE and Java server environments like Apache Tomcat, JBOSS or whatever depending on your project.

installing-jdk on Ubuntu 12.04

Installing JDK on Ubuntu 12.04 (Precise Pangolin)

In official package, v 6 as well as 7 is available. So if you’re already working on a project then you would obviously go for that, otherwise latest version is recommended. JDK includes default JRE(Java Runtime Environment) according to the version, and other dependencies. If you don’t like command line interface then better go for synaptic package manager (above snapshot).

Install OpenJDK 7

sudo apt-get install openjdk-7-jdk

 

Install OpenJDK 6

sudo apt-get install openjdk-6-jdk

Update1 : Synaptic Package Manager snapshots added!

转载自:http://blog.sudobits.com/2012/04/20/how-to-install-jdk-on-ubuntu-12-04/
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值