Java Basic Learning Note--2 (Myeclipe create Java project)

Source: Internet
Author: User

1. Introduction to IDE development tools

The IDE (Integrated development Environment: Integrated development environment) is an application software designed for programmers with a powerful graphical interface. With the help of the IDE, programmers can compile, debug, Commit, refactor, and more efficiently.

Eclipse, MyEclipse is currently the mainstream IDE development tool.

Eclipse is IBM's $ tens of millions of open source project, and the biggest reason for Eclipse's success, beyond Open source, is its ' plug-in ' nature. Eclipse itself is a platform framework that provides standard services, which are written in the Java language itself. The JRE environment is also required for operation, so the JDK needs to be installed first.

MyEclipse is a powerful enterprise-class IDE development tool built on eclipse and developed with plug-ins, primarily for Java, EE, and mobile applications.


2. The process of creating a Java project

Project structure under MyEclipse:

650) this.width=650; "title=" Zz]w8@0uctz7.png "alt=" wkiol1vjqeni5y7zaabwwd9qne8300.jpg "src=" http://s3.51cto.com/ Wyfs02/m02/6c/70/wkiol1vjqeni5y7zaabwwd9qne8300.jpg "/>

1) Open Development tools MyEclipse

2) Create a Java project

File--new--java project, the project used to create a suitable Java basic application. Fill out project name, and then click Finish.

3) Create Package Packages

After the project is created, click on "+" to open, back to see the SRC folder, suitable for storing. Java source files, right-click on the SRC, you can create the package, that is, the packages, fill in the name, click Finish to complete.

4) Create Class

Right-click on the package, create class, fill in name, and finish by clicking Finish.


3. Writing and commenting of Helloworld.java under MyEclipse

Public class HelloWorld {

public static void Main (string[] args) {

System.out.println ("Hello, Traena");

}

}

notes:

Single-line comment: //  

Multi-line comments: /*  ... */  

Documentation notes:/** ... */

This article is from "Forever Young" blog, please be sure to keep this source http://kingkongzhao.blog.51cto.com/6319491/1642470

Java Basic Learning Note--2 (Myeclipe create Java 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.