Creating Java programs and debugging code with eclipse
Source: Internet
Author: User
KeywordsJava perspective selection debugging
Http://www.aliyun.com/zixun/aggregation/13428.html ">eclipse is an open source, java-based, extensible development platform. For its part, it is just a framework and a set of services for building the development environment through plug-in components. Fortunately, Eclipse comes with a standard set of plug-ins, including Java development tools (Java Development tools,jdt).
Eclipse was originally developed by IBM as the next-generation IDE development environment for the Alternative business software visual age for Java, which was contributed to the open source community in November 2001 and is now funded by the nonprofit Software Provider Alliance Eclipse Foundation (eclipse Foundation) management. In 2003, Eclipse 3.0 chose the OSGi Service platform specification as the Run-time architecture. June 2007, stable version 3.3 released. June 2008 release of the 3.4 version code-named Ganymede.
Eclipse is known as a cross-platform, free integrated development environment (IDE). It was primarily used for Java language development, but at the moment there are also plug-ins that make it a development tool for other computer languages such as C + + and Python. Eclipse itself is only a framework platform, but the support of many plug-ins makes it very difficult for eclipse to have the flexibility of other, relatively fixed, IDE software. Many software developers develop their own Ides with Eclipse as the framework.
Eclipse was originally created by the IDE product development Group of OTI and IBM two companies, starting in April 1999. IBM provides the initial eclipse code base, including platform, JDT, and Pde. Currently led by IBM, the Eclipse Project has developed into a huge eclipse alliance with more than 150 software companies involved in the Eclipse project, including Borland, Rational Software, Red hat and Sybase. Eclipse is a development source project that is actually an alternative to visual age for Java, with an interface similar to that of previous visual age for Java, but because of its open source, anyone can get it free and develop their own plug-ins on this basis, So people are getting more and more attention. Many large companies, including Oracle, have recently joined the project, claiming that Eclipse will become an IDE synthesizer for any language development, and that users simply download plug-ins from a variety of languages.
When Eclipse first started, it entered a resource perspective, in this perspective, you can manage projects, folders, files, and other resources, as Eclipse says, these panels are called views, a complete set of views is called a perspective, and in a resource perspective you can use the top left view (Navigation view) Navigating and creating resources.
Before doing things in eclipse, such as creating a Java program, you create a Java project, and the steps to create a Java project are as follows:
1. Right click on Navigation view, select New Item in pop-up context menu;
2, in the New Project dialog box, Eclipse provides the project options: Java, Plug-in development. So you want to create a Java project, select Java on the left side of the dialog box;
3, select the Java project on the right of the dialog box, if you also installed other Java Plug-in development package, here will be listed together (such as ejb,servlet, etc.), the Eclipse default installed JDT only support standard Java applications, so you must choose the Java Project option;
4, click Next to enter the New Project Wizard dialog box;
5, first give the project a name, because it is a simple "Hello, world" example, so here I enter "Hello", click Next, set up the Java Project setup options, for this project you do not need to make any changes;
6, click to complete;
7, eclipse will prompt you this project is associated with the Java perspective, and ask you whether to switch to the Java perspective, select Yes.
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.