Ubuntu _ install JDK on Ubuntu 12.04

Source: Internet
Author: User
Tags apache tomcat
ArticleDirectory
    • Installing JDK on Ubuntu 12.04 (precise pangolin)

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 (precise pangolin)

In official package, V 6 as well as 7 is available. so if you're already working on a project then you wowould obviously go for that, otherwise latest version is recommended. JDK nodes 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 (abve 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!

Reprinted from: http://blog.sudobits.com/2012/04/20/how-to-install-jdk-on-ubuntu-12-04/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.