Eclipse Begin at the Beginning. Where to Find it: www.eclipse.org www.eclipse.org/articles www.eclipse.org/newsgroups www.eclipse.org/eclipse/development/main.html.

Slides:



Advertisements
Similar presentations
Introduction to Eclipse cs112b1 – Lab01 by Rui Shi.
Advertisements

Introduction to Eclipse. Start Eclipse Click and then click Eclipse from the menu: Or open a shell and type eclipse after the prompt.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
20-Jun-15 Eclipse. Most slides from: 2 About IDEs An IDE is an Integrated Development Environment.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of The Java Development Tools project.
Eclipse Introduction Dwight Deugo Nesa Matic
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Views Dwight Deugo Nesa Matic
1 Plug-in Development Environment (PDE) Guide. 2 Introduction to PDE l What is PDE: »a tool designed to help you develop platform plug-ins while working.
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
Enhancing Developer Productivity using Eclipse Presented by: Tom Sausner.
Software Development COMP220/COMP285 Sebastian Coope Eclipse and Java These slides are mainly based on “Java Development with Eclipse” – D.Gallardo et.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
Introduction to Eclipse. Overview Eclipse Background Obtaining and Installing Eclipse Creating a Workspaces / Projects Creating Classes Compiling and.
Getting started with Eclipse By Alexander Butyaev.
Getting Started With Java Downloading and installing software Running your first program Dr. DwyerFall 2012.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Introduction Purpose  This training course provides an overview of the installation and.
1 Mobile Computing Set Up Copyright 2015 by Janson Industries.
Using Eclipse. What is Eclipse? The Eclipse Platform is an open source IDE (Integrated Development Environment), created by IBM for developing Java programs.
Chapter 1a© copyright Janson Industries RAD ▮ Explain Eclipse, RAD, and their relationship ▮ Basic RAD concepts ▮ How to install RAD ▮ How to import.
1 Development Environments AUBG, COS dept Lecture Title: Dev Env: Eclipse (Extract from Syllabus) Reference:
LLRP GUI Client User Guide
Introduction to Eclipse Plug-in Development. Who am I? Scott Kellicker Java, C++, JNI, Eclipse.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
Workbench Overview Dwight Deugo Nesa Matic
Lecture Set 1 Part C: Understanding Visual Studio and.NET – Applications, Solutions, Projects (no longer used – embedded in Lecture Set 2A)
© 2005 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. Data Structures for Java William H. Ford William R. Topp Appendix E The EZJava.
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
TOOLS FOR DESIGN AND DEVELOPMENT ENVIRONMENTS. Case study - ECLIPSE Lecture notes 4.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files.
Introduction to Eclipse. What is Eclipse? An Integrated Development Environment Provides many features to ease C++ programming (and others, e.g. C/Java)
Welcome To Eclipse. Basic Concepts Workspace – directory where your projects are stored –Projects grouping of related works –Resources generic term to.
9/2/ CS171 -Math & Computer Science Department at Emory University.
Eclipse. An IDE is an Integrated Development Environment Different IDEs meet different needs BlueJ, DrJava are designed as teaching tools Emphasis is.
Eclipse 3.1 IDE Overview.
GumTree Development Environment Setup Windows Only Compatible with Eclipse 3.2 M3 (Last update: 16/11/05)
Liferay Installation Prepared by: Do Xuan Hai 8 August 2011.
Eclipse 24-Apr-17.
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Eclipse. An IDE is an Integrated Development Environment Different IDEs meet different needs BlueJ, DrJava are designed as teaching tools Emphasis is.
Development with Eclipse Software Engineering Prof. Werner Krandick.
How to Install Eclipse Click hereClick here to download Eclipse.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Intro to. Contents These slides describe how one can obtain (download) and use eclipse to build, run, and debug basic Java programs.
Eclipse 27-Apr-17.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Java IDE Dwight Deugo Nesa Matic
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
Author: Loh Jianxiong Christopher Contributions: Chua Jie Sheng, Li Mengran, Peh Shao Hong, Oo Theong Siang, Tong Chun Kit, Tania Chattopadhyay.
Eclipse.
Chapter 2: The Visual Studio .NET Development Environment
Development with Eclipse
ATS Application Programming: Java Programming
Eclipse Navigation & Usage.
COSC-4840 Software Engineering
Eclipse 20-Sep-18.
Introduction to Eclipse
Introduction to Eclipse
Eclipse Basic Concepts
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
By Rajanikanth B Eclipse IDE Overview By Rajanikanth B
Presentation transcript:

Eclipse Begin at the Beginning

Where to Find it:

Install and run: Download and decompress in install directory Does not modify registry Repeat to reinstall No hidden spy-ware (Re)installation is painless Install your own Java jre or jdk beforehand Run eclipse.exe; make your own shortcut, etc C:\Program Files\eclipse

First Look (Resource Perspective): editor view Toolbar with Resource Perspective selected

What is a Perspective? Collection of views (not editable) and editors Good for a particular task –Resource Perspective: managing files (functionality found in the java perspective) –Java Perspective: developing java code –Debug Perspective: debugging java code Three views in this perspective: –Navigator: displays file system –Task: lists outstanding tasks –Outline: presents outline (if it exists) of other resources

work, work, work Workbench versus Workspace Workspace: –Asked at first startup to specify file system location. This becomes your workspace. –Put it outside the Eclipse home directory (for easy re-install) –Manages resources, grouped as projects –Handles communication between components –You can have several workspaces Workbench: –Displays menus and toolbars (perspectives decide which) –Looks “native”

The Eclipse Platform The eclipse platform kernel Workspace ComponentWorkbench Component Team Component (CVS)Help Component (XML) JDT plug-inPDE plug-in Additional Plug-in Additional Plug-in native code basic GUI extensible CVS client manages resources java devtoolplug-in devtool plug-ins come with their own perspectives, views, editors, etc  roll-your-own 

Multiplicity: You can start up multiple Eclipse windows (Java and Debug Perspectives for example) You can have multiple Eclipse installs unzipped in different install directories. When testing new plug-ins there is even a “runtime workbench” so you won’t mess up your current work environment.

Default perspective: Since we want to develop java code the default perspective for us is the Java Perspective Select Window/Preferences…/General/Perspectives and from the Available List select Java and click on Make Default.

First Java Project: Select File/New/Project/Java Project and click on Next The following window appears

A new java project: Becomes the subdirectory where project files stored Separate src and bin directories

Perspectives, Views and Editors: The Workbench has several perspectives; only one is visible at a time. A perspective is a collection of views and editors that also appear in different perspectives Resource Java Debug Perl etc Navigator Package Console Tasks etc JDT Java code editor XML editor Mocrosoft Word etc

Views vs Editors: Views display data without the ability to edit Editors edit! Views and Editors get stacked Select Window/Preferences/General/Editors/File Associations to associate editors with file extensions Double clicking on a Java class in the Package View opens the Java editor on the.java file. Perspectives come with a predefined (but modifiable) set of Views and Editors

The Java Perspective Project Class files and contents Java file editor Class outline Output window List of all open projects (deleting a project from this view does not delete the project from the file system) Perspective toolbar

Creating a Java class: Click on circled-C icon Select File/New/Class Right-click Package Explorer View and select New/Class

New Java class dialog Typically the project folder Name of the class Get used to “packaging” your java classes

Java coding: Code Assist prompts with method/variable names Invoked by typing. operator or Ctrl-space. Editor red-lines syntax errors (with fix hints) Reformat by selecting Source/Format Modify Code Assist by selecting Window/Preferences/Java Editor/Code Assist Quick Fix suggests code fixes. Hover over error/light bulb icon in left margin marker bar Minimize comments and method bodies

Scrapbook: Create a new scrapbook page File/New/Other/(Java Run/Debug)/Scrapbook Page The file extension will automatically be.jpage. From here you can execute code snippets by following the steps on the following slide. If you need to import other packages right click the scrapbook editor and select Set Imports.

Using the Scrapbook: 1: Double click the Package View scrapbook entry to open an editor. 2: Copy or type code to be executed into the editor 3: Select the code you want to execute 4: Right click the editor window and select Execute 5: View the output in the Console window How you include import statements

The Package Explorer: Deleting projects from this view doesn’t delete them from the file system Open an existing project by importing it to this view. Select File/Import

Disaster Recovery Save your useful Workspace project folders Delete your Eclipse directory. Unzip the Eclipse download Replace any project folders in your new Workspace New version of Eclipse? –copy old project folders to new Workspace directory