Create a Java development environment under Ubuntu

Source: Internet
Author: User

First, understand the JDK

Different Java software and class libraries have different requirements for JDK, and before we know how to install Java, let's get a quick look at the differences between JRE, OPENJDK, and Oracle JDK.

JRE (Java Runtime Environment), which is the environment you need to run a Java-language-based application normally. If you are not a program clerk, these are enough for your needs.

The JDK represents the Java SDK, and if you want to do something about Java development (read programs), that's exactly what you need.

OPENJDK is an open source implementation of the Java SDK, the Oracle JDK is the official Oracle version of the Java Development Kit. Although OPENJDK is sufficient for most cases, many programs, such as Android Studio, recommend using Oracle JDK to avoid ui/performance issues.

Ii. Installation of JDK

1. View the currently installed Java version

2. Download the JDK installation package based on the current operating system version selection

3. Place the downloaded installation package in a specific directory

4. Unzip the installation package

5. Add Environment variables

6. Apply Environment variables

7. View JDK Installation Status

Third, install Eclipse

1. Download the appropriate version of Eclipse

2. Unzip the file to a specific location

3. Open Eclipse

Iv. Installing the ant build tool

1. Download the ant installation package

2. Unzip to a specific directory

3. Setting Environment variables

4. Download dependencies related to ant tasks

5. View Ant installation Status

V. Installation of Ivy dependent management tools

1. Download the installation package

2. Unzip to a specific directory

3. Place Ivy's jar package in Ant's lib directory

4. Run the automatic installation script

Create a Java development environment under Ubuntu

Related Article

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.