COMP 110/401 APPENDIX: INSTALLING AND USING ECLIPSE. Instructor: Prasun Dewan (FB 150,
|
|
- Joy Lloyd
- 6 years ago
- Views:
Transcription
1 COMP 110/401 APPENDIX: INSTALLING AND USING ECLIPSE Instructor: Prasun Dewan (FB 150,
2 SCOPE: BASICS AND BEYOND Basic use: CS 1 Beyond basic use: CS2 2
3 DOWNLOAD FROM Get the latest IDE for Java Developers, not Indigo 3
4 EXTRACT ALL 4
5 SELECT DESTINATION FOLDER 5
6 CREATE SOME KIND OF SHORTCUT FOR ECLIPSE.EXE 6
7 RUN ECLIPSE.EXE 7
8 SPECIFY PROJECTS DIRECTORY 8
9 REMOVE WELCOME TAB IF IT APPEARS 9
10 ADD A NEW JAVA PROJECT 10
11 ENTER PROJECT NAME 11
12 SWITCH TO JAVA PERSPECTIVE (MAY GET THIS MESSAGE) 12
13 EMPTY PROJECT CREATED 13
14 ADD A PACKAGE TO SELECTED PROJECT Select project and File Package 14
15 ENTER PACKAGE NAME 15
16 EMPTY PACKAGE IN NON EMPTY PROJECT 16
17 ADD A CLASS Select project and File Class 17
18 NAME THE CLASS 18
19 EMPTY CLASS IN NON EMPTY PACKAGE 19
20 EDIT THE FILE (COPY AND PASTE CODE) package warmup; import java.io.bufferedreader; import java.io.inputstreamreader; public class AGreeter { static BufferedReader inputstream = new BufferedReader(new InputStreamReader(System.in)); public static void main(string[] args) { System.out.println("Hello World"); if (args.length > 0) { System.out.println(args[0]); } try { System.out.println (inputstream.readline()); } catch (Exception e) { System.out.println("Could not read line"); e.printstacktrace(); } } } Copy and paste code from: 20
21 SAVE (AND COMPILE) THE FILE File Save or CTRL+S 21
22 WORKSPACE, PROJECT, SOURCE PACKAGE FOLDER Workspace Project Source Package Class Source 22
23 WORKSPACE, PROJECT, BINARY PACKAGE FOLDER Workspace Project Binary Package Class Object (Binary) Code 23
24 EXECUTE THE MAIN METHOD ON SELECTED CLASS Right Menu Debug As Java Application Can also select Run but Debug is more defensive 24
25 FIND OR SWITCH WORKSPACE FOLDER: FILE SWITCH WORKSPACE 25
26 FIND PROJECT FOLDER: SELECT PROJECT, RIGHTCLICK PROPERTIES RESOURCE 26
27 VIEW OUTPUT IN CONSOLE WINDOW 27
28 PROVIDE INPUT IN CONSOLE WINDOW 28
29 THE OUTPUT AFTER ENTER 29
30 SUPPLY USER ARGUMENT: Right Menu Debug As Debug Configuration 30
31 SELECT MAIN CLASS IN CONFIGURATION 31
32 SPECIFY AND APPLY ARGUMENT IN ARGUMENT TAB AND PRESS DEBUG Argument must be in quotes. Args[0] = Ca Va Without quotes Java will make each word a separate argument (args[0] = Ca, args[1] = Va 32
33 EXECUTE WITH SUPPLIED ARG 33
34 ARG PRINTED, PROGRAM, STILL RUNNING, WAITING FOR INPUT Button available in both Debug and Java Perspective, only of them is active 34
35 TERMINATED PROGRAM 35
36 DEBUG LAST MAIN LAUNCHED: F11 No need to select a main class 36
37 CLOSING A WINDOW PERHAPS ACCIDENTALLY 37
38 VANISHED CONSOLE 38
39 WINDOW RESET PERSPECTIVE 39
40 WINDOW SHOW VIEW Can selectively remove and add sub-windows/views 40
41 TARGET Basic use Beyond basic use (ignore for 401) 41
42 CREATE A PROJECT FROM EXISTING CODE Source Code of Class Examples Zipped Directory JavaToHTML Click on Zipper Directory Link in SlideShow Mode Unzip the zipped directory Make a Java project out of it by following the steps described 42
43 CREATE A PROJECT OUT OF EXISTING CODE: FILE NEW JAVA PROJECT 43
44 UNCHECK DEFAULT LOCATION BOX 44
45 ENTER LOCATION AND NAME 45
46 NEW PROJECT CREATED But it will have errors because of missing ObjectEditor library 46
47 LIBRARY LOCATION ON THE WEB Downloads Click on the latest version (on my web page, not this page) to download the jar (same as zip) and do not unzip/unjar it 47
48 DOWNLOAD LIBRARY TO LOCAL COMPUTER Do not unzip/unjar it 48
49 SELECT PROJECT, AND PROJECT PROPERTIES Must do this for each project! 49
50 SELECT BUILD PATH, ADD EXTERNAL JAR 50
51 SELECT SAVED JAR 51
52 SELECT BUILD PATH, PROJECTS 52
53 REMOVE SPURIOUS PROJECTS 53
54 PRESS OK TO COMMIT 54
55 CHANGE THE JAVA VERSION (IF NECESSARY): WINDOW PREFERENCES 55
56 JAVA COMPILER PREFERENCES 56
57 REBUILD OR RECOMPILE ALL CLASSES 57
58 EXECUTING CODE GIVES JAVA, JAVAC INCOMPATIBILITY ERROR 58
59 CHANGE THE JAVA VERSION: WINDOW PREFERENCES 59
60 PRESS SEARCH BROWSE BUTTON 60
61 PRESS SEARCH BROWSE BUTTON TO INSTALLED JDK (SEE APPENDIX ON INSTALLATION) 61
62 JRE ADDED TO ECLIPSE, SELECT IT AND CAN EXECUTE WITHOUT ERRORS 62
63 SOME EXPLICIT INSTRUCTIONS FOR MAC You can get that for mac here: The problem is Eclipse won't change the compiler to use 1.7 so you will have to specify that under: Eclipse -> Preferences -> Java -> Installed JREs Click "Add..." then choose "MacOS X VM" Next, then under directory copy/paste this: /Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk/Contents/Home Make sure it recognizes this as Java SE 7. Then name doesn't really matter. Now go to: Eclipse -> Preferences -> Java -> Compiler Change the compliance level to: "1.7" Now it probably still won't work (at least it didn't on mine) This is because your project is still set on 1.6 So, go to: Project -> Properties -> Java Build Path -> Libraries Add Library... JRE System Library "Workspace default" should be automatically there as the 1.7, but if not find the 1.7 library. Then remove the 1.6 library Also you need to change the compiler being used by the project: Project -> Properties -> Java Compiler and make sure everything is on 1.7 Now, if you're getting an error about the main class not being found or working. You may just want to create a new project and when you select the 1.7 JRE. 63
64 DELETING A PROJECT Right click project and delete. Usually not a good idea to delete project on disk, can always use the OS to do so, which will put it in the recycling bin 64
65 COPY TYPES (CLASSES, INTERFACES, ENUMS) FROM PACKAGE TO ANOTHER: COPY Select type(s) in source project and package and press CTRL-C (or File Copy right menu item) 65
66 COPY TYPES FROM ONE PACKAGE TO ANOTHER: PASTE Select package in destination project and package and press CTRL-V (or File Paste right menu item) 66
67 COPYING CLASSES FROM ONE PACKAGE TO ANOTHER: NEW CLASS IN NEW PACKAGE AND PROJECT Repackaged type added (and its imports are changed to other copied types if multiple types are copied and pasted together) 67
68 JUMPING TO IDENTIFIER DEFINITION AND NAVIGATION STACK ALT + Forward Arrow goes forwards in the navigation stack a la browser forward button ALT + Back Arrow takes you back where you came from, a la Browser back button, can execute multiple times to back in in the stack of visited points F3 when cursor is a start of an identifier Makes Eclipse take you to the definition of the identifier in an edit window 68
69 FIND THE USES CTRL-SHIFT-G when cursor is a start of an identifier Double clicking a method reference Makes Eclipse show the methods that reference the identifier in the search tab Makes Eclipse show the method and highlight all references of the identifier 69
70 MULTI FILE TEXT SEARCH FOR PRINTLN 70
71 SEARCH RESULTS Use CTR+SHIFT+G (shown earlier) to find active uses of the method 71
72 MENU REFACTOR RENAME IDENTIFIER: ALT + SHIFT + R Select type, right menu Refactor Rename All references will be updated! 72
73 COMPLETE IDENTIFIER: CTRL + SPACE AFTER PREFIX public static final long NUMBER_OF_LARGE_FACTORIAL_COMPUTATIONS = ; Give file name 73
74 UNDERSTAND AND CORRECT ERRORS 74
75 CORRECT ALL IMPORT ERRORS IN FILE: CTRL + SHIFT + O In Eclipse press CTRL-SHIFT-O to automatically import all used types that need to be imported but have not been imported If class is in more than one package, Eclipse gives a choice All unused imports are also removed Can select multiple types or a project to refresh all imports in the selected types/project 75
76 SET A BREAK POINT OR TEL ECLIPSE TO STOP WHEN IT REACHED SOME LINE Double clicking again will remove dot and break point Can also use right menu in side bar to enable and disable break point 76
77 DEBUG PROGRAM AND ENTER INPUT 77
78 MAY GET THIS MESSAGE BEFORE BREAK POINT HIT 78
79 DEBUG PERSPECTIVE AND STOPPING AT BREAKPOINT 79
80 RUN STEP OVER TO NEXT STATEMENT (F6) 80
81 STOPPED AT NEXT STATEMENT Local variable 81
82 RUN STEP INTO SETNUMBER (F5) Call stack Called method parameters 82
83 RUN STEP RETURN OR F7 Call stack 83
84 STEP OVER AND THEN STEP INTO GETFACTORIAL Elided (Collapsed) Instance Vars 84
85 EXAMINE VARIABLES Expanded Instance Vars 85
86 STEP INTO RECURSINGFACTORIAL 86
87 STEP OVER IF 87
88 STEP INTO RECURSIVE CALL 88
89 EXAMINE PARENT CALL 89
90 STEP OVER IF 90
91 STEP INTO YET ANOTHER RECURSIVE CALL 91
92 RUN RESUME TO NEXT BREAK POINT OR USER INPUT (NO MORE SINGLE STEPPING) 92
93 ENTER NEGATIVE NUMBER TO TERMINATE 93
94 STOPPING AGAIN AT BREAKPOINT 94
95 TERMINATED IN DEBUG PERSPECTIVE 95
96 RETURN TO JAVA PERSPECTIVE 96
97 JUNIT: NEW CLASS WITHOUT MAIN 97
98 JUNIT: INSTALL JUNIT 98
99 JUNIT ADDED AND IMPORTED 99
100 RUN JUNIT 10 0
101 JUNIT RESULT 10 1
102 RETURNING TO JAVA PERSPECTIVE 10 2
103 10 3
104 10 4 FINDING THE DEFINITION CTRL + SHIFT + G before a identifier
105 10 5 FINDING THE DEFINITION F3 before a use
106 10 6 EXAMINING MAIN PARAMETERS Main Parameters
107 NEW OUTPUT AND LOCAL VARIABLE Index gets initialized println() 10 7
108 STEP OVER 10 8
109 STEP INTO NEXT LINE (SAME AS STEP OVER) 10 9
110 TERMINATING RUNNING PROGRAM 11 0
111 11 1 STEP INTO SETNUMBER (RUN STEP INTO OR F5) Call stack Called method parameters
112 11 2 STEP RETURN STEP RETURN OR F7 Call stack
113 11 3 STEP OVER AND THEN STREP INTO GETFACTORIAL Elided (Collapsed) Instance Vars
114 11 4 EXAMINING VARIABLES Expanded Instance Vars
115 STEP INTO RECURSINGFACTORIAL 11 5
116 STEP OVER IF 11 6
117 STEP INTO RECURSIVE CALL 11 7
118 EXAMINING PARENT CALL 11 8
119 STEP OVER 11 9
120 STEP INTO YET ANOTHER RECURSIVE CALL 12 0
121 RESUME TO NEXT BREAK POINT OR USER INPUT (NO MORE SINGLE STEPPING) 12 1
122 ENTER NEGATIVE NUMBER TO TERMINATE 12 2
123 STOPPING AGAIN AT BREAKPOINT 12 3
124 TERMINATED 12 4
125 RETURNING TO JAVA PERSPECTIVE 12 5
126 TWO OTHER USEFUL BUT COMPLICATED REFACTOR OPTIONS Change method signature Will try to update references to match the signature, which can be erroneous Extract interface of class C Will create interface of selected public methods and will make the interface the type of all variables declared to be of class type Adds potentially unwanted comments to method headers and sometimes updates to references have not worked in the past for me Maybe better to get all references and update them individually for both purposes 12 6
Getting Started with Eclipse/Java
Getting Started with Eclipse/Java Overview The Java programming language is based on the Java Virtual Machine. This is a piece of software that Java source code is run through to produce executables. The
More informationCS520 Setting Up the Programming Environment for Windows Suresh Kalathur. For Windows users, download the Java8 SDK as shown below.
CS520 Setting Up the Programming Environment for Windows Suresh Kalathur 1. Java8 SDK Java8 SDK (Windows Users) For Windows users, download the Java8 SDK as shown below. The Java Development Kit (JDK)
More information1. Go to the URL Click on JDK download option
Download and installation of java 1. Go to the URL http://www.oracle.com/technetwork/java/javase/downloads/index.html Click on JDK download option 2. Select the java as per your system type (32 bit/ 64
More informationGetting Started with Eclipse for Java
Getting Started with Eclipse for Java Maria Litvin Phillips Academy, Andover, Massachusetts Gary Litvin Skylight Publishing 1. Introduction 2. Downloading and Installing Eclipse 3. Importing and Exporting
More informationUsing Eclipse for Java. Using Eclipse for Java 1 / 1
Using Eclipse for Java Using Eclipse for Java 1 / 1 Using Eclipse IDE for Java Development Download the latest version of Eclipse (Eclipse for Java Developers or the Standard version) from the website:
More informationUsing Eclipse Europa - A Tutorial
Abstract Lars Vogel Version 0.7 Copyright 2007 Lars Vogel 26.10.2007 Eclipse is a powerful, extensible IDE for building general purpose applications. One of the main applications
More informationCOMP 110/401 WINDOWS COMMAND INTERPRETER. Instructor: Prasun Dewan (FB 150,
COMP 110/401 WINDOWS COMMAND INTERPRETER Instructor: Prasun Dewan (FB 150, dewan@unc.edu) WINDOWS COMMAND INTERPRETER 2 COMMAND INTERPRETER? Interprets Command Lines Provides alternative to (OS and Application)
More informationJavac and Eclipse tutorial
Javac and Eclipse tutorial Author: Balázs Simon, BME IIT, 2013. Contents 1 Introduction... 2 2 JRE and JDK... 2 3 Java and Javac... 2 4 Environment variables... 3 4.1 Setting the environment variables
More informationGetting Started with Eclipse for Java
Getting Started with Eclipse for Java Maria Litvin Phillips Academy, Andover, Massachusetts Gary Litvin Skylight Publishing 1. Introduction 2. Downloading and Installing Eclipse 3. Importing and Exporting
More informationWhat s NetBeans? Like Eclipse:
What s NetBeans? Like Eclipse: It is a free software / open source platform-independent software framework for delivering what the project calls "richclient applications" It is an Integrated Development
More information2 Getting Started. Getting Started (v1.8.6) 3/5/2007
2 Getting Started Java will be used in the examples in this section; however, the information applies to all supported languages for which you have installed a compiler (e.g., Ada, C, C++, Java) unless
More informationICOM 4015 Advanced Programming Laboratory. Chapter 1 Introduction to Eclipse, Java and JUnit
ICOM 4015 Advanced Programming Laboratory Chapter 1 Introduction to Eclipse, Java and JUnit University of Puerto Rico Electrical and Computer Engineering Department by Juan E. Surís 1 Introduction This
More informationIntroduction to Computation and Problem Solving
Class 3: The Eclipse IDE Introduction to Computation and Problem Solving Prof. Steven R. Lerman and Dr. V. Judson Harward What is an IDE? An integrated development environment (IDE) is an environment in
More informationModule 3: Working with C/C++
Module 3: Working with C/C++ Objective Learn basic Eclipse concepts: Perspectives, Views, Learn how to use Eclipse to manage a remote project Learn how to use Eclipse to develop C programs Learn how to
More informationRTMS - Software Setup
RTMS - Software Setup These instructions are for setting up the RTMS (Robot Tracking & Management System) software. This software will run on your PC/MAC and will be used for various labs in order to allow
More informationPART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE
PART 1 Eclipse IDE Tutorial Eclipse Java IDE This tutorial describes the usage of Eclipse as a Java IDE. It describes the installation of Eclipse, the creation of Java programs and tips for using Eclipse.
More informationFor live Java EE training, please see training courses at
Java with Eclipse: Setup & Getting Started Originals of Slides and Source Code for Examples: http://courses.coreservlets.com/course-materials/java.html For live Java EE training, please see training courses
More informationTable of Contents. 1 Introduction Downloads Eclipse SDK Installation Eclipse Workspace Eclipse Preferences...
SDK Quickstar t S et Eclpse f or u Dig Pl ug - in De velo p me nt Table of Contents 1 Introduction... 3 2 Downloads... 4 3 Eclipse SDK Installation... 5 4 Eclipse Workspace... 7 5 Eclipse Preferences...
More informationEclipse Setup. Opening Eclipse. Setting Up Eclipse for CS15
Opening Eclipse Eclipse Setup Type eclipse.photon & into your terminal. (Don t open eclipse through a GUI - it may open a different version.) You will be asked where you want your workspace directory by
More information6.170 Laboratory in Software Engineering Eclipse Reference for 6.170
6.170 Laboratory in Software Engineering Eclipse Reference for 6.170 Contents: CVS in Eclipse o Setting up CVS in Your Environment o Checkout the Problem Set from CVS o How Do I Add a File to CVS? o Committing
More informationCSCI 201 Lab 1 Environment Setup
CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated
More informationPrerequisites for Eclipse
Prerequisites for Eclipse 1 To use Eclipse you must have an installed version of the Java Runtime Environment (JRE). The latest version is available from java.com/en/download/manual.jsp Since Eclipse includes
More informationIntroduction to Eclipse
Introduction to Eclipse Ed Gehringer Using (with permission) slides developed by Dwight Deugo (dwight@espirity.com) Nesa Matic (nesa@espirity.com( nesa@espirity.com) Sreekanth Konireddygari (IBM Corp.)
More informationSDKs - Eclipse. SENG 403, Tutorial 2
SDKs - SENG 403, Tutorial 2 AGENDA - SDK Basics - - How to create Project - How to create a Class - Run Program - Debug Program SDK Basics Software Development Kit is a set of software development tools
More informationEven though we created a folder for the workspace, we still have to let JCreator do the same. So click File, New, and then Blank Workspace.
Getting Started With JCreator The first thing to do with JCreator is to create a workspace. A workspace is an area where you can store a project or a set of related projects. For me, the best way to create
More information3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS)
GETTING STARTED: YOUR FIRST JAVA APPLICATION 15 3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS) GETTING STARTED: YOUR FIRST JAVA APPLICATION Checklist: The most recent version of Java SE Development
More informationGetting Started (1.8.7) 9/2/2009
2 Getting Started For the examples in this section, Microsoft Windows and Java will be used. However, much of the information applies to other operating systems and supported languages for which you have
More informationEclipse Environment Setup
Eclipse Environment Setup Adapted from a document from Jeffrey Miller and the CS201 team by Shiyuan Sheng. Introduction This lab document will go over the steps to install and set up Eclipse, which is
More information1.00/1.001 HowTo: Install Eclipse
1.00/1.001 HowTo: Install Eclipse Spring 2008 1.00/1.001 will use the Eclipse Integrated Development Environment (IDE) to create, compile, and run Java programming assignments. Eclipse version 3.3.1.1
More informationEclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang
Eclipse Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with Eclipse Choosing a Perspective Creating a Project Creating a Java
More information1.00 Lecture 2. What s an IDE?
1.00 Lecture 2 Interactive Development Environment: Eclipse Reading for next time: Big Java: sections 3.1-3.9 (Pretend the method is main() in each example) What s an IDE? An integrated development environment
More informationCS 152: Data Structures with Java Hello World with the IntelliJ IDE
CS 152: Data Structures with Java Hello World with the IntelliJ IDE Instructor: Joel Castellanos e-mail: joel.unm.edu Web: http://cs.unm.edu/~joel/ Office: Electrical and Computer Engineering building
More informationDavid Scuse Department of Computer Science University of Manitoba. Eclipse 3.1
David Scuse Department of Computer Science University of Manitoba Eclipse 3.1 Eclipse 3.1 1 ECLIPSE 3.1... 1 1.1 INTRODUCTION...1 1.2 INTERACTIVE DEVELOPMENT ENVIRONMENTS...1 1.3 THE ECLIPSE IDE...1 1.4
More informationJava Programming Constructs Java Programming 2 Lesson 1
Java Programming Constructs Java Programming 2 Lesson 1 Course Objectives Welcome to OST's Java 2 course! In this course, you'll learn more in-depth concepts and syntax of the Java Programming language.
More informationSetting up your Computer
Setting up your Computer 1 Introduction On this lab, you will be getting your computer ready to develop and run Java programs. This lab will be covering the following topics: Installing Java JDK 1.8 or
More informationSetup and Getting Startedt Customized Java EE Training:
2011 Marty Hall Java a with Eclipse: Setup and Getting Startedt Customized Java EE Training: http://courses.coreservlets.com/ 2011 Marty Hall For live Java EE training, please see training courses at http://courses.coreservlets.com/.
More informationGETTING STARTED WITH ECLIPSE Caitrin Armstrong
GETTING STARTED WITH ECLIPSE Caitrin Armstrong 1 THE ECLIPSE IDE IDE = Integrated Development Environment Language-neutral: Java, C, HTML, Powerful, advanced features that help with code development (e.g.
More informationIntroduction to Eclipse
Introduction to Eclipse In this chapter you install and configure Eclipse. I then use the classical HelloWorld example to show how to effectively create Java programs under Eclipse. I first discuss the
More informationJust Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about?
Just Enough Eclipse What is Eclipse(TM)? Eclipse is a kind of universal tool platform that provides a feature-rich development environment. It is particularly useful for providing the developer with an
More informationCHAPTER 1INTRODUCTION... 3 CHAPTER 2INSTALLING ECLIPSE...
Table of Contents CHAPTER 1INTRODUCTION... 3 CHAPTER 2INSTALLING ECLIPSE... 4 2.1ABOUT JAVA... 4 2.2DIFFERENT EDITIONS OF JAVA... 5 CHAPTER 3DOWNLOADING AND INSTALLING JAVA... 6 CHAPTER 4INSTALLING THE
More informationEclipse CDT Tutorial. Eclipse CDT Homepage: Tutorial written by: James D Aniello
Eclipse CDT Tutorial Eclipse CDT Homepage: http://www.eclipse.org/cdt/ Tutorial written by: James D Aniello Hello and welcome to the Eclipse CDT Tutorial. This tutorial will teach you the basics of the
More informationS8352: Java From the Very Beginning Part I - Exercises
S8352: Java From the Very Beginning Part I - Exercises Ex. 1 Hello World This lab uses the Eclipse development environment which provides all of the tools necessary to build, compile and run Java applications.
More informationLaboratory Assignment #4 Debugging in Eclipse CDT 1
Lab 4 (10 points) November 20, 2013 CS-2301, System Programming for Non-majors, B-term 2013 Objective Laboratory Assignment #4 Debugging in Eclipse CDT 1 Due: at 11:59 pm on the day of your lab session
More information3. Hello World! for IDEA. Java. Summer 2008 Instructor: Dr. Masoud Yaghini
3. Java Summer 2008 Instructor: Dr. Masoud Yaghini Outline Java IDEs Creating A Project Making A Java Class Building the Project Running the Project References Java IDEs Java IDEs Integrated Development
More informationModule Road Map. 7. Version Control with Subversion Introduction Terminology
Module Road Map 1. Overview 2. Installing and Running 3. Building and Running Java Classes 4. Refactoring 5. Debugging 6. Testing with JUnit 7. Version Control with Subversion Introduction Terminology
More informationECE QNX Real-time Lab
Department of Electrical & Computer Engineering Concordia University ECE QNX Real-time Lab User Guide Dan Li 9/12/2011 User Guide of ECE Real-time QNX Lab Contents 1. About Real-time QNX Lab... 2 Contacts...
More informationSection 2: Developer tools and you. Alex Mariakakis (staff-wide)
Section 2: Developer tools and you Alex Mariakakis cse331-staff@cs.washington.edu (staff-wide) What is an SSH client? Uses the secure shell protocol (SSH) to connect to a remote computer o Enables you
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationRunning Java Programs
Running Java Programs Written by: Keith Fenske, http://www.psc-consulting.ca/fenske/ First version: Thursday, 10 January 2008 Document revised: Saturday, 13 February 2010 Copyright 2008, 2010 by Keith
More informationThis cheat sheet is aimed at people with some experience in eclipse but who may not be aware of many of its features.
ECLIPSE CHEAT SHEET This cheat sheet is aimed at people with some experience in eclipse but who may not be aware of many of its features. SHORTCUTS These are some of the most useful shortcuts in eclipse.
More informationi2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code
i2b2 Workbench Developer s Guide: Eclipse Neon & i2b2 Source Code About this guide Informatics for Integrating Biology and the Bedside (i2b2) began as one of the sponsored initiatives of the NIH Roadmap
More informationS D K Q U I C K S T A R T
S D K Q U I C K S T A R T S e t u p a n E c l i p s e E n v i r o n m e n t f o r u D i g P l u g - i n D e v e l o p m e n t 2 7 J u n e 2 0 0 8 TABLE OF CONTENTS 1 Goals...3 2 Downloads...4 3 Eclipse
More informationDiPro and Prism Installation from Source Code
DiPro and Prism 3.3.1 Installation from Source Code In this guide, the installation of DiPro with Prism 3.3.1 version will be shown.keep in mind that, we use Eclipse Oxygen with JDK version 1.8 and JRE
More informationClass 1: Homework. Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017
Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017 1 1. Please obtain a copy of Introduction to Java Programming, 11th (or 10th) Edition, Brief
More informationCode::Blocks Student Manual
Code::Blocks Student Manual Lawrence Goetz, Network Administrator Yedidyah Langsam, Professor and Theodore Raphan, Distinguished Professor Dept. of Computer and Information Science Brooklyn College of
More informationCS 201 Software Development Methods Spring Tutorial #1. Eclipse
CS 201 Software Development Methods Spring 2005 Tutorial #1 Eclipse Written by Matthew Spear and Joseph Calandrino Edited by Christopher Milner and Benjamin Taitelbaum ECLIPSE 3.0 DEVELOPING A SIMPLE PROGRAM
More informationNetBeans IDE Java Quick Start Tutorial
NetBeans IDE Java Quick Start Tutorial Welcome to NetBeans IDE! This tutorial provides a very simple and quick introduction to the NetBeans IDE workflow by walking you through the creation of a simple
More informationLAB 1: FAMILIARITY WITH NETBEANS IDE ENVIRONMENT
Statement Purpose: The purpose of this Lab. is to familiarize student with the programming environment they will be going to using throughout this course. This Lab. introduces the basics of NetBeans IDE
More informationLab #1: A Quick Introduction to the Eclipse IDE
Lab #1: A Quick Introduction to the Eclipse IDE Eclipse is an integrated development environment (IDE) for Java programming. Actually, it is capable of much more than just compiling Java programs but that
More informationHadoop Tutorial. General Instructions
CS246H: Mining Massive Datasets Hadoop Lab Winter 2018 Hadoop Tutorial General Instructions The purpose of this tutorial is to get you started with Hadoop. Completing the tutorial is optional. Here you
More informationInstalling Eclipse (C++/Java)
Installing Eclipse (C++/Java) The 2017 suite of text-based languages, Java and C++, utilize the current version of Eclipse as a development environment. The FRC specific tools for the chosen language are
More informationIndex. Symbols. /**, symbol, 73 >> symbol, 21
17_Carlson_Index_Ads.qxd 1/12/05 1:14 PM Page 281 Index Symbols /**, 73 @ symbol, 73 >> symbol, 21 A Add JARs option, 89 additem() method, 65 agile development, 14 team ownership, 225-226 Agile Manifesto,
More informationSeries 40 6th Edition SDK, Feature Pack 1 Installation Guide
F O R U M N O K I A Series 40 6th Edition SDK, Feature Pack 1 Installation Guide Version Final; December 2nd, 2010 Contents 1 Legal Notice...3 2 Series 40 6th Edition SDK, Feature Pack 1...4 3 About Series
More information5/3/2006. Today! HelloWorld in BlueJ. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont.
Today! Build HelloWorld yourself in BlueJ and Eclipse. Look at all the Java keywords. Primitive Types. HelloWorld in BlueJ 1. Find BlueJ in the start menu, but start the Select VM program instead (you
More informationCreating a new CDC policy using the Database Administration Console
Creating a new CDC policy using the Database Administration Console When you start Progress Developer Studio for OpenEdge for the first time, you need to specify a workspace location. A workspace is a
More informationGuided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth
Guided Tour (Version 3.3) By Steven Castellucci as Modified by Brandon Haworth This document was inspired by the Guided Tour written by Professor H. Roumani. His version of the tour can be accessed at
More informationWeek 2: Data and Output
CS 170 Java Programming 1 Week 2: Data and Output Learning to speak Java Types, Values and Variables Output Objects and Methods What s the Plan? Topic I: A little review IPO, hardware, software and Java
More informationCOMP220/285 Lab sessions 1-3
COMP220/285 Lab sessions 1-3 Contents General Notes... 2 Getting started... 2 Task 1 Checking your ANT install... 2 Task 2 Checking your JUnit install... 2 Task 3 JUnit documention review... 4 Task 4 Ant
More informationPOOSL IDE Installation Manual
Embedded Systems Innovation by TNO POOSL IDE Installation Manual Tool version 4.1.0 7 th November 2017 1 POOSL IDE Installation Manual 1 Installation... 4 1.1 Minimal system requirements... 4 1.2 Installing
More informationActiveSpaces Transactions. Quick Start Guide. Software Release Published May 25, 2015
ActiveSpaces Transactions Quick Start Guide Software Release 2.5.0 Published May 25, 2015 Important Information SOME TIBCO SOFTWARE EMBEDS OR BUNDLES OTHER TIBCO SOFTWARE. USE OF SUCH EMBEDDED OR BUNDLED
More informationSlide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto
CS 170 Java Programming 1 Eclipse@Home Downloading, Installing and Customizing Eclipse at Home Slide 1 CS 170 Java Programming 1 Eclipse@Home Duration: 00:00:49 What is Eclipse? A full-featured professional
More informationManual Eclipse CDT Mac OS Snow Leopard
UNVIERSITY OF VICTORIA Manual Eclipse CDT Mac OS Snow Leopard Installation & Demonstration Guide Przemek Lach 9/3/2013 This guide shows how to use install Eclipse and C- Compiler and how to test the setup
More informationSoftware Installation for CS121
Software Installation for CS121 Dr. Lixin Tao http://csis.pace.edu/~lixin Computer Science Department Pace University August 26, 2005 1 Installation of Java J2SE 5 SDK 1. Visit Start Settings Control Panel
More informationMEDIA COMPUTATION DRJAVA. Lecture 11.3 November 7, 2008
MEDIA COMPUTATION DRJAVA Lecture 11.3 November 7, 2008 LEARNING GOALS Understand at practical level Where to get DrJava How to start DrJava Dr Java features How to add items to the classpath for DrJava
More informationWentworth Institute of Technology. Engineering & Technology WIT COMP1000. Java Basics
WIT COMP1000 Java Basics Java Origins Java was developed by James Gosling at Sun Microsystems in the early 1990s It was derived largely from the C++ programming language with several enhancements Java
More informationFrontPage Help Center. Topic: FrontPage Basics
FrontPage Help Center Topic: FrontPage Basics by Karey Cummins http://www.rtbwizards.com http://www.myartsdesire.com 2004 Getting Started... FrontPage is a "What You See Is What You Get" editor or WYSIWYG
More informationYou should now start on Chapter 4. Chapter 4 introduces the following concepts
Summary By this stage, you have met the following principles : the relationship between classes and objects that a class represents our understanding of something weʼre interested in, in a special and
More informationAn Introduction to Eclipse: Quick Guide. Part 1: Getting Started with Eclipse Part 2: Working with Eclipse Useful Online Guides
An Introduction to Eclipse: Quick Guide Part 1: Getting Started with Eclipse Part 2: Working with Eclipse Useful Online Guides 1 1 Part 1: Getting Started with Eclipse Installation & Running The User Interface
More informationMobile Programming Lecture 4. Debugging
Mobile Programming Lecture 4 Debugging Lecture 2 Review How do you make the android:inputtype attribute of an EditText both textcapwords and textmultiline? Why should you use a @string resource for TextViews
More informationUNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod
Page 1 of 19 UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared By: Harald Gjermundrod Table of Contents 1 EASY INSTALLATION... 2 1.1 DOWNLOAD... 2 1.2 INSTALLING... 2 2 CUSTOMIZED INSTALLATION...
More informationInstalling Eclipse. by Christopher Batty and David Scuse. Department of Computer Science, University of Manitoba, Winnipeg, Manitoba, Canada
Installing Eclipse 1, 2 by Christopher Batty and David Scuse, University of Manitoba, Winnipeg, Manitoba, Canada Last revised: October 22, 2003 Overview: In this collection of documents, we describe how
More informationEng. Mohammed S. Abdualal
Islamic University of Gaza Faculty of Engineering Computer Engineering Department Computer Programming Lab (ECOM 2124) Created by Eng: Mohammed Alokshiya Modified by Eng: Mohammed Abdualal Lab 1 Introduction
More informationIntroduction. Key features and lab exercises to familiarize new users to the Visual environment
Introduction Key features and lab exercises to familiarize new users to the Visual environment January 1999 CONTENTS KEY FEATURES... 3 Statement Completion Options 3 Auto List Members 3 Auto Type Info
More informationFigure 1. Simplicity Studio
SIMPLICITY STUDIO USER S GUIDE 1. Introduction Simplicity Studio greatly reduces development time and complexity with Silicon Labs EFM32 and 8051 MCU products by providing a high-powered IDE, tools for
More informationQNX Software Development Platform 6.6. Quickstart Guide
QNX Software Development Platform 6.6 QNX Software Development Platform 6.6 Quickstart Guide 2005 2014, QNX Software Systems Limited, a subsidiary of BlackBerry. All rights reserved. QNX Software Systems
More informationWind River Workbench (VxWorks Version) User's Guide, 3.0. Wind River Workbench USER S GUIDE 3.0. VxWorks Version
Wind River Workbench (VxWorks Version) User's Guide, 3.0 Wind River Workbench USER S GUIDE 3.0 VxWorks Version Copyright 2007 Wind River Systems, Inc. All rights reserved. No part of this publication may
More informationThe ImageJ Eclipse Howto
13-10-2018 1/25 The ImageJ Eclipse Howto The ImageJ Eclipse Howto A guide on how to include ImageJ into Eclipse and develop plugins using this IDE. Author: Patrick Pirrotte (patrick@image-archive.org)
More informationIBM WebSphere Java Batch Lab
IBM WebSphere Java Batch Lab What are we going to do? First we are going to set up a development environment on your workstation. Download and install Eclipse IBM WebSphere Developer Tools IBM Liberty
More informationPackaging Your Program into a Distributable JAR File
Colin Kincaid Handout #5 CS 106A August 8, 2018 Packaging Your Program into a Distributable JAR File Based on a handout by Eric Roberts and Brandon Burr Now that you ve written all these wonderful programs,
More informationAssignment 1. Application Development
Application Development Assignment 1 Content Application Development Day 1 Lecture The lecture provides an introduction to programming, the concept of classes and objects in Java and the Eclipse development
More informationJava Programming. What is a program? Programs Recipes. Programs as Recipes 8/16/12. Pancakes In one bowl. mix: 1½ cup flour
What is a program? Java Programming CS 160, Fall Semester 2012 TOPICS Computer Programs Using Eclipse Program Program Components Definition: a sequence of instructions telling a computer what to do Analogy:
More informationSupplement H.1: JBuilder X Tutorial. For Introduction to Java Programming, 5E By Y. Daniel Liang
Supplement H.1: JBuilder X Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,
More informationSupplement II.B(1): JBuilder X Tutorial. For Introduction to Java Programming By Y. Daniel Liang
Supplement II.B(1): JBuilder X Tutorial For Introduction to Java Programming By Y. Daniel Liang This supplement covers the following topics: Getting Started with JBuilder Creating a Project Creating, Compiling,
More informationAndroid Studio Setup Procedure
Android Studio Setup Procedure System Requirements : Windows OS Linux OS Mac OS Microsoft Windows 7/8/10 (32- or 64-bit) 3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator 2 GB
More informationLab Android Development Environment
Lab Android Development Environment Setting up the ADT, Creating, Running and Debugging Your First Application Objectives: Familiarize yourself with the Android Development Environment Important Note:
More informationJava with Eclipse: Setup & Getting Started
Java with Eclipse: Setup & Getting Started Originals of slides and source code for examples: http://courses.coreservlets.com/course-materials/java.html Also see Java 8 tutorial: http://www.coreservlets.com/java-8-tutorial/
More informationAt the shell prompt, enter idlde
IDL Workbench Quick Reference The IDL Workbench is IDL s graphical user interface and integrated development environment. The IDL Workbench is based on the Eclipse framework; if you are already familiar
More informationHOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS
HOW TO USE CODE::BLOCKS IDE FOR COMPUTER PROGRAMMING LABORATORY SESSIONS INTRODUCTION A program written in a computer language, such as C/C++, is turned into executable using special translator software.
More informationJDB - QUICK GUIDE JDB - INTRODUCTION
http://www.tutorialspoint.com/jdb/jdb_quick_guide.htm JDB - QUICK GUIDE Copyright tutorialspoint.com JDB - INTRODUCTION Debugging is a technical procedure to find and remove bugs or defects in a program
More informationEng. Mohammed Alokshiya
Islamic University of Gaza Faculty of Engineering Computer Engineering Dept. Computer Programming Lab (ECOM 2114) Lab 1 Introduction to Java Eng. Mohammed Alokshiya September 28, 2014 Java Programming
More information