1 / 7

Eclipse Integrated Development Environment

Eclipse Integrated Development Environment. Shriraksha Mohan. Eclipse IDE. Eclipse Integrated Development Environment is used to create Java applications. This IDE was created by an Open Source Community called Eclipse.

gayle
Télécharger la présentation

Eclipse Integrated Development Environment

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Eclipse Integrated Development Environment Shriraksha Mohan

  2. Eclipse IDE • Eclipse Integrated Development Environment is used to create Java applications. • This IDE was created by an Open Source Community called Eclipse. • Eclipse requires Java runtime environment installed either a JDK(Java Development Toolkit) or JRE(Java Runtime Environment). • Eclipse IDE can be downloaded from https://www.eclipse.org and the contents of this downloaded file can be unzipped to a folder. • To start Eclipse just click Eclipse.exe in your installation directory.

  3. Eclipse IDE

  4. Eclipse IDE

  5. Eclipse IDE Workspace • Workspace is a location on the file system you are working on. • Users can choose the workspace during startup or using the following menu options File->Switch Workspace->Other. Perspective • A perspective is a visual container for a set of views or editors etc. Ex:Java Perspective,Debug Perspective etc. • To Switch Perspective – Window->Open perspective->Other • Resetting a perspective to its original state – Window->Reset Perspective Views and Editors • Views are used to navigate to some information or open an editor. • Editor is where the code is typed into.

  6. Eclipse IDE Creating a Java Program • Creating a project: File->new->Java project. Give a name to the project. • Creating a package: Right click on the src folder and select New->Package. Specify the name of the package. • Creating a Java class: Right click on your package and select New->Class. Specify the name of the class and also indicate if it should be the Main class by checking the options available. • Running a project: Right click on the Java class with the main method and select Run As ->Java Application. • To run a Java Program outside Eclipse it should be exported into a jar file. Right click on your project, select “Export” and specify the location to export it to.

  7. Eclipse IDE Configuring the project’s build path • Right click on the project folder -> Build Path->Configure Build Path Installing and Updating plugins. • Eclipse provides all its functionality via a set of features called plugins. • To update existing plugins or add new plugins select Help->Software Updates. • If you are using a plugin with no Software site the plugin in should be put into the ‘dropins’ folder in your Eclipse installation directory and Eclipse should be restarted.

More Related