Installation and configuration of JDK and use of eclipse

Source: Internet
Author: User
Tags java web java se

One, need software:

JDK and Eclipse

Two, download of JDK and Eclipse

JDK:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Go to page: Select the appropriate version->downloads-> accept the agreement (otherwise it cannot be downloaded), select the version of the JDK (system, and number of digits)

eclipse:https://www.eclipse.org/downloads/

After entering the page: Select the version you want:

Basic version of Eclipse Standard:eclipse, personal development for Java SE (personal recommendation, novice familiar with this version first)

Eclipse IDE for Java EE developers: Java EE-inherited plug-in for Java web development

The specific download process is similar to the JDK.

third, the installation of the JDK

1, installation

The downloaded file is such an. exe executable file,

Direct double-click Installation

Next:

Select Development tools and JRE and installation address , next

The installation hints for the JRE are then ejected, so be sure to separate the installation directory of the JRE from the installation directory of the JDK, or it will cause the overwrite command to be unavailable.

2, installation is only the first step, next requires the configuration of environment variables:

1) java_home:jdk root directory (installed directory)

2) CLASSPATH: Ensure that the program runs ". Class" File (Lib)

3) Path:jdk The bin folder of the installation directory

How to do this: Right-click My Computer, properties, advanced system Properties, environment variables:

Environment Variables

NEW: Variable name: java_home

Variable Value: (Your actual installation directory)

NEW: Variable name: Class_path

Variable value:%java_home%\lib;

Find path, add at the end: "; Java_home\bin "(Note: Separate)

To detect if the installation was successful (command line detection):

Enter Java-version If you can display the version number to indicate that the installation was successful

The input Javac can display the above information, indicating that the configuration was successful.

Installation of Eclipse:

As long as it corresponds to the number of bits in the JDK, it can be started by tapping the icon directly after extracting it.

Installation and configuration of JDK and use of eclipse

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.