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)