Eclipse Getting Started (1)

zhaozj2021-02-16  73

At present, various integrated development environments (IDE) in the Java Development Field (IDE) presents a hundred flowers, from Borland's JBuilder, to IBM's Visual Age for Java, WebSphere Studio, Oracle's JDeveloper, Sun's Forte for Java, Visual Cafe, WebGain, TOGETHERSOFT TOGETHER, there is also an open source Eclipse, NetBeans, etc., and 10 kinds of kinds. Such a variety of IDEs have prospered Java development tools, but also puts a problem for the selection of developers. The development environment of these IDEs has a large difference, and the projects developed in a development environment cannot be easily ported to another development environment, which requires more careful development tools for project objectives.

In all IdEs, Eclipse can be said to be one of the most developed products. Eclipse was originally created by the IDE product development group of OTI and IBM, starting from April 1999. IBM provides the initial Eclipse code foundation, including Platform, JDT, and PDE. Currently by IBM, surrounding the Eclipse project has developed into a huge Eclipse alliance, more than 150 software companies involved in the Eclipse project, including Borland, Rational Software, Red Hat and Sybase, recent Oracle also plans to join Eclipse Among the leagues.

basic concepts

Before learning to use Eclipse, it is necessary to explain some nouns on this project.

Eclipse is an open source software development project that provides a full-featured, commercially available industrial platform for highly integrated tool development. It consists of three projects of Eclipse project, Eclipse tool project, and Eclipse technology projects, and each project is supervised by a project management committee and manages it by its project. Each project consists of its own subproject and uses the COMMON PUBLIC LICENSE (CPL) version 1.0 license agreement.

The Eclipse Tools project provides a focus to different tool builders to ensure that the best tools are created for Eclipse Platform. The Task of the Eclipse Tools project is to create a wide range of tools for Eclipse Platform. Tool projects provide a single contact point to make an open source tool constructor, making override and repetition, minimizing sharing, and the creation of shared components, promoting seamless interoperability of different types of tools. Tools Projects are proposed by the Tool Developer Commission and Tools Projects, subtitles, chosen and developed sub-projects.

The task of the Eclipse Technical Project is to provide new pipelines for open source developers, researchers, colleges and educators to participate in the evolution of Eclipse in the future. It organizes three projects in research, cultivation and education, and research projects explore and study in Eclipse related areas such as programming languages, tools and development environment; cultivating projects are small, unsuccessful structured projects, for Eclipse software Foundation add new ability; education project focuses on the development, teaching help and courseware of education materials.

Eclipse Platform is an open scalable IDE. Eclipse Platform provides a basis for building blocks and construction and running integrated software development tools. Eclipse Platform allows tool builders to develop a seamlessly integrated tool for tool builders. You don't have to distinguish between a tool function, and another tool function starts.

Eclipse SDK (Software Developer Package) is a sub-project (Platform, JDT, PDE) produced by 3 Eclipse projects, which can be downloaded once. These parts provide a development environment with rich features that allow developers to effectively build tools that can be seamlessly integrated into Eclipse Platform. The Eclipse SDK is combined by the tools produced by the Eclipse project and a third-party software from other open source code. The software produced by the Eclipse project is published in CPL, and third-party components have their own license agreement. Download, install Eclipse

Know these information about the Eclipse project, we can download, install an Eclipse. Eclipse SDK is what we want to download, including all the contents of the development of Java applications and all the results of the Eclipse project.

Enter the homepage of the Eclipse project

Http://www.eclipse.org, click Downloads to enter the download page. The latest version of Eclipse is version 2.0.2, but the multi-language translation package of version 2.0.2 has not yet come out, so we can use a little bit of version 2.0.1. Click 2.0.1 to enter its download page, this page has a lot of download connections, including Eclipse SDK in many platforms, here we only need to download Eclipse-sdk-2.0.1-Win32.zip and NLS-SDK-2.0.1 -Translations.zip two files can be, and there is an eclipse-examples-2.0.1-win32.zip file, which is required to learn the Java Development User Guide. Unzip these three files to the same directory, such as D: / Eclipse.

You should first install JDK (Sun's JDK or IBM JDK before running Eclipse, you should install 1.3 or later version, recommended to use 1.4 or higher version, because only JDK using 1.4 or later can enjoy the new HotSwap function The convenience of debugging), set a good environment variable Java_Home, ClassPath, and Path.

Eclipse.exe under D: / Eclipse creates a shortcut on the desktop. Double click to start Eclipse. Eclipse can also be launched in a command line, specifying the JVM and saving data for use on the command line, for example:

D: /Eclipse/eclipse.exe-vmd: / WebSphere / Appserver / Java /bin/javaw.exe -data D: / Work / Workspace

Among them, D: / Work / Workspace is the location where the project file is saved. You can choose Help → Help Content Enter the Help System for Eclipse. With Eclipse's multi-language translation pack, all menu and online help have been translated into Chinese, which is very convenient to use. Before making the following learning, it is recommended to browse the "Workbed User Guide" in the help, familiar with the concept of perspective and view.

?

Related resources: Eclipse from getting started to proficiency.pdf

转载请注明原文地址:https://www.9cbs.com/read-15562.html

New Post(0)