Java Environment Configuration-eclipse New Project

Source: Internet
Author: User

Configure the installation JDK and JRE first

Install the following:

Then configure the variable environment: Right-click My Computer--Properties--Advanced system settings--environment variables--system variables--Find path--Edit

Put the directory of the JDK that is installed and the bin directory under the JDK directory

Example: C:\java\jdk1.8.0_111; C:\java\jdk1.8.0_111\bin, because the directory where I installed the JDK is installed directly under the C drive.

Next configure the variable environment lib (that is, library): Right-click My Computer--Properties--Advanced system settings--environment variables--System variables--new Classpath

Put the directory of the installed JDK and the directories of the JDK to scare the Lib directory into it

Example: C:\java\jdk1.8.0_111; C:\java\jdk1.8.0_111\lib;

Tip: If you find these directories difficult to distinguish, you can put the root directory and bin and the Lib directory under path and classpath, do not conflict.

Continue, install Eclipse.

Then: File--New--java Project

Then right--new--Class

Select options as shown in the diagram.

Java Environment Configuration-eclipse New Project

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.