Java language development Environment building

Source: Internet
Author: User

Build a development environment before you can use any computer language to develop it.

First, define what is the JDK, JRE.

Second, download the JDK

Third, install the JDK

IV. Configuring environment variables

V. Verification of success

First, what is the JRE, JDK.

JRE (Java Runtime Environment,java Runtime Environment): includes the core class libraries required by the Java Virtual Machine (JVM) and Java programs, and if you want to run a well-developed Java program, install the JRE.

JDK (Java Development Kit,java SDK): JDK is available to Java developers with Java development tools and JRE included. So if you have a JDK installed, you don't need to install the JRE. Development tools: Compilation Tools (Javac.exe), packaging Tools (Jar.exe)

In short: Java programs developed with the JDK are delivered to the JRE.

Second, download the JDK

Go to www.oracle.com Download the JDK (remember to download the JDK, not the JRE if you want to develop it.) Because the download of the official website is in English, if the English is not good, you can find a tutorial online.

Third, install the JDK

Fool installation (next step), but take note of two details:

1, remember to change the installation path, the default is C drive. It is best to install to other disks, even USB drives. (As for why small partners you should know)

2, after installing the JDK, will pop up a dialog box to install the JRE, click Cancel. (The reason has been mentioned earlier)

IV. Configuring environment variables

It's easy to find a tutorial on the Internet (I'll make it up sometime)

V. Verification of success

Open the command line to execute Java, Javac, and if successful execution proves that the environment variable is configured successfully.

Java language development Environment building

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.