Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence

Size: px
Start display at page:

Download "Imperative and Object Oriented Programming. Tutorial 1. Charlie Abela Department of Artificial Intelligence"

Transcription

1 Imperative and Object Oriented Programming Tutorial 1 Department of Artificial Intelligence charlie.abela@um.edu.mt

2 Tutorial 1 In this tutorial you will be using the BlueJ IDE to develop java classes. BlueJ is a Java development environment specifically designed for teaching at an introductory level. It was designed and implemented by the BlueJ team at Deakin University, Melbourne, Australia, and the University of Kent at Canterbury, UK. 1. Introduction to BlueJ Installation on Windows is a straight forward process. The distribution file is called bluejsetup-xxx.exe, where xxx is a version number. For example, the BlueJ version distribution is named bluejsetup-200.exe. You might get this file on disk, or you can download it from the BlueJ web site at Execute this installer. The installer lets you select a directory to install to. It will also offer the option of installing a shortcut in the start menu and on the desktop. After installation is finished, you will find the program bluej.exe in BlueJ s installation directory. The first time you launch BlueJ, it will search for a Java system (JDK). If it finds more than one suitable Java system (e.g. you have JDK and JDK installed), a dialog will let you select which one to use. If it does not find one, you will be asked to locate it yourself (this can happen when a JDK system has been installed, but the corresponding registry entries have been removed). The BlueJ installer also installs a program called vmselect.exe. Using this program, you can later change which Java version BlueJ uses. Execute vmselect to start BlueJ with a different Java version. The choice of JDK is stored for each BlueJ version. If you have different versions of BlueJ installed, you can use one version of BlueJ with JDK and another BlueJ version with JDK 1.5. Changing the Java version for BlueJ will make this change for all BlueJ installations of the same version for the same user. 1.1 Keep it Simple BlueJ projects, like standard Java packages, are directories containing the files included in a project. After starting BlueJ, use the Project Open... menu command to select and open a project. 1. The window might not look exactly the same on your system, but the differences should be minor. Tutorial 1 Java Tutorials 2

3 Figure 1: BlueJ interface 2. Preferences related to the editor and other options can be set from here Figure 2: BlueJ preference settings 3. To create a new project, select Project New... from the menu. A file selection dialogue opens that lets you specify a name and location for the new project. Try that now. Set the name of the new project to tutorial_1. After you click OK, a directory will be created with the name you specified, and the main window shows the new, empty project. Tutorial 1 Java Tutorials 3

4 4. Lets try out BlueJ by creating a new class in a tutorial_1. Select the New Class... menu item or toolbar button. This is only possible while you have the project open. A dialog will appear to let you enter a name for the new class: You have to enter a name, and choose one of the options Class, Abstract Class, Interface, "Applet", Unit Test or Enum. Figure 3: Creating a new class The name must be a valid Java identifier. In short, it must be a word that consists only of letters, digits and the underscore (_). No spaces or other characters are allowed. The first character may not be a digit. Choose a name such as HelloWorld. Class, Abstract Class, Interface, "Applet", Unit Test or Enum options only determine what kind of skeleton is used for the initial source of the class. It is not a final choice: you could change your mind later, and replace the complete source code of, say, a class with code for an interface. The environment would recognise that the class is now an interface and treat it accordingly. Of course, this works the other way around as well. 5. Once the class has been created, the Editor can be accessed. Figure 4: Editing code Tutorial 1 Java Tutorials 4

5 6. With the creation of each class, some code will automatically be created. This can be edited as required. Figure 5: Using the editor 7. To permanently set the coding preferences, such as brackets style (inline or not), default variable declarations and methods, we can edit BlueJ s underlying templates which are found it the following directory: home\bluej\lib\english\templates\newclass. Each template related to classes, applets etc can be edited separately. 8. Edit the code in the HelloWorld class and enter only the following statements. public class HelloWorld{ public static void main(string[] args){ System.out.println("Hello World"); } } 9. To compile this code, just hit the compile button. This will automatically save and compile the code. If no errors are detected then the message: Class compiled no syntax errors, will be displayed at the bottom of the editor Tutorial 1 Java Tutorials 5

6 Figure 6: Compiling code 10. To execute the Class rt. click and choose void main(string[] args) 11. Figure 7: Executing classes The output can be seen through the Terminal window. If the terminal window does not launch automatically: Click on View, Choose Terminal. Figure 8: Checking Output in Terminal Tutorial 1 Java Tutorials 6

7 12. Appropriate documentation can be generated automatically. A browser window will be launched and the documentation displayed as a web page Figure 9: Generate JavaDoc Figure 10: View Java documentation 2. Introduction to Eclipse The Eclipse Platform is designed for building integrated development environments (IDEs) that can be used to create applications as diverse as web sites, embedded Java programs, C++ programs, and Enterprise JavaBeans. In this tutorial we will show the (very) basic functionality of this program, which is call The Platform when talking about Java Developing Tools. Visit for further information. Tutorial 1 Java Tutorials 7

8 Eclipse is released open source software license, so you can download for free from its website: The most suitable version (for you) at this stage is the Eclipse Classic. Once downloaded, installing Eclipse should be quite straight forward. It is suggested that you install it in the root directory. 2.1 Using Eclipse 1. Launching Eclipse prompts you for workspace location. This is where all your projects will be stored and you can choose a different location every time you start Eclipse or check the Use this as the default option. It is recommended that you set your own workspace folder. Figure 11: Selecting the Workspace 2. If it s the first time that you are running eclipse on your machine, after the workspace is chosen, the following startup screen will be displayed. Figure 12: Startup Screen Tutorial 1 Java Tutorials 8

9 3. Choosing the workbench icon takes you to the Java IDE interface Figure 13: Workbench 4. Eclipse works with a Tab system, it means that each item is displayed in the same place all the time and we can select which Tabs we want to display in each moment. The default view contains: 1. Navigator Tab: This is the place where our projects will be located 2. Java View: The code of our programs as the Visual Editor preview will be displayed here 3. Outline: All the functions and the includes of the code 4. Console: The Java Standard Output will be displayed here 5. Properties Tab: This will become handy when eventually you ll use the Visual Editor. If we click on an item, the properties of this object could be changed by changing the values in this tab 6. Run Button: We can save time by clicking this button instead of going to the menu. The first time that we run a project, Eclipse will prompt for the type and way to run it 7. New: To add new classes, visual classes we can click here instead of clicking on the File Menu 5. Creating a project in Eclipse is quite straight forward. The wizard will help you define all aspects of the new project. Tutorial 1 Java Tutorials 9

10 Figure 14: New Project 6. After choosing to create a new Java Project, then you have to enter the project details and set some other issues. Figure 15: Creating a new Project Tutorial 1 Java Tutorials 10

11 Project name should be entered: enter unit1 Leave the Create new project in workspace checked Check that the correct JVM is used Choose the Create separate source and output folders 7. Check the Allow output folders for source folders. In this way source files will be separate from the class files, giving a better structure to your programs. Figure 16: Program code structure 8. Clicking on Finish will generate the following folder structure. Figure 17: Source/Class folders Tutorial 1 Java Tutorials 11

12 9. Create a new class and name it HelloWorld. Figure 18: Add new class to src folder 10. When asked to enter the class details, create also a package (which will store all the exercises that will be done in relation to the first unit. Name the package: exercises (use small letters) and the class: HelloWorld. Figure 19: New package and class details Tutorial 1 Java Tutorials 12

13 Also check the box for the main method and uncheck the one for inherited abstract methods. Clicking finish will create the class. Figure 20: New class created 11. Add to the main method the following statement and save the file System.out.println( Hello World ); 12. To run your program rt-click on the src file, choose Run As and then click on Java Application. This will execute the program and output the message Hello World onto the Console window. Figure 21: Execute Program Tutorial 1 Java Tutorials 13

14 3. Problems The following coding problems are related to the basics of the java language: topics covered include, variables (declaration and initialisation), constants, data types, numeric type casting, operator precedence and associativity, input from console. 3.1 Problem Set 1. Write a program CalorieCalc.java, that accepts a person s weight and displays the number of calories the person needs in one day. Use the formula: calories = bodyweight * Write a class Pythagoras.java, that reads the lengths of two sides of a right -angled triangle a and b. The program should then calculate and display the length of the hypotenuse, using the formula : h = (a 2 + b 2 ) 3. Write a program, CorrectChange.java, which takes in a purchase price and a tendered amount (both in cents) and then displays the correct values and change in euros, 50 euro cent, 20 euro cent and 10 euro cent coins. Purchase Price: Euro Amount Tendered: Euro Your change: Euro one euro coin(s) 0 50 cent coin(s) 1 20 cent coin(s) 0 10 cent coin(s) 4. A JavaCoffee outlet runs a catalogue business. It sells one type of coffee beans. The company sells the coffee in 2kg bags only and the price of a single bag is Euro When a customer places an order, the company ships the order in a box. The boxes come in three sizes, large (hold 20 bags), medium (hold 10 bags) and small (hold 5 bags). The cost of Tutorial 1 Java Tutorials 14

15 packaging varies according to box size: large (Euro 2), medium (Euro 1.5) and small (Euro 1). E.g. the cost of 52 bags will be shipped in two large, one medium and one small, boxes. Write a program, JavaCoffee.java, that computes the total cost of an order and displays the output as below. Number of bags ordered: 52 Euro 286 Boxes used: 2 large - Euro medium - Euro small - Euro 1.00 Total cost is: Euro % : Euro Total: Euro Write a program, LoanCalculator.java, which calculates both monthly and total payments for a given loan amount, annual interest rate and loan period. The user is expected to enter three values: loanamount, interestrate and loanperiod. The program will compute the monthly and total payments and then outputs the results. See example output below. Amount Rate Loan Monthly Total Write a program, TicketBooth.java, which computes the total ticket sales for a concert. There are three types of seatings: A, B and C. The program accepts the number of tickets sold and the price of a ticket for each of the three types of seats. The total sales are computed and result outputted. 7. Implement a program, Ticket.java. The program should perform the following operations: i. Read from the keyboard the first and the last name of a passenger. ii. Read from the keyboard the names of the departure city and country. iii. Read from the keyboard the names of a destination city and country. Tutorial 1 Java Tutorials 15

16 iv. Display the ticket's full details, including the pricing details of the ticket (assume that one price fits all and that Vat is 18% and taxes are a fixed amount) 8. Write a program, Quadratic.java, that solves quadratic equations. The program will take three values standing for a, b and c, will find the roots of the equation and display them on screen. Use: -b ± (b 2 2a 4ac) 9. Write a program, LeapYear.java, that given a year will return whether it is a leap year or not. Remember that a year is a leap year only if either (i) divisible by 400 or (ii) divisible by 4 but not There are a number of different formats for representing color. RGB format specifies the level of red (R), green (G), and blue (B) on an integer scale from 0 to 255. RGB is the primary format for LCD displays, digital cameras, and web pages. However for publishing books and magazines the primary format used is the CMYK format. This specifies the level of cyan (C), magenta (M), yellow (Y), and black (K) on a real scale of 0.0 to 1.0. Write a program RGBtoCMYK.java that reads in three integers red, green, and blue and prints out equivalent CMYK parameters. The mathematical formulas for converting from RGB to an equivalent CMYK color are: Tutorial 1 Java Tutorials 16

Eclipse. JVM, main method and using Eclipse. Dr. Siobhán Drohan. Produced by: Department of Computing and Mathematics

Eclipse. JVM, main method and using Eclipse. Dr. Siobhán Drohan. Produced by: Department of Computing and Mathematics Eclipse JVM, main method and using Eclipse Produced by: Dr. Siobhán Drohan Department of Computing and Mathematics http://www.wit.ie/ Topics list Files in Java. Java Virtual Machine. main method. Eclipse

More information

UNic Eclipse Mini Tutorial (Updated 06/09/2012) Prepared by Harald Gjermundrod

UNic 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 information

Introduction to Eclipse

Introduction 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 information

Just Enough Eclipse What is Eclipse(TM)? Why is it important? What is this tutorial about?

Just 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 information

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java)

CSCI 161: Introduction to Programming I Lab 1b: Hello, World (Eclipse, Java) Goals - to learn how to compile and execute a Java program - to modify a program to enhance it Overview This activity will introduce you to the Java programming language. You will type in the Java program

More information

Software and Programming 1

Software and Programming 1 Software and Programming 1 Lab 1: Introduction, HelloWorld Program and use of the Debugger 17 January 2019 SP1-Lab1-2018-19.pptx Tobi Brodie (tobi@dcs.bbk.ac.uk) 1 Module Information Lectures: Afternoon

More information

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Using 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 information

Do this by creating on the m: drive (Accessed via start menu link Computer [The m: drive has your login id as name]) the subdirectory CI101.

Do this by creating on the m: drive (Accessed via start menu link Computer [The m: drive has your login id as name]) the subdirectory CI101. Creating and running a Java program. This tutorial is an introduction to running a computer program written in the computer programming language Java using the BlueJ IDE (Integrated Development Environment).

More information

For live Java EE training, please see training courses at

For 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 information

3. Hello World! for IDEA. Java. Summer 2008 Instructor: Dr. Masoud Yaghini

3. 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 information

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1

Java Program Structure and Eclipse. Overview. Eclipse Projects and Project Structure. COMP 210: Object-Oriented Programming Lecture Notes 1 COMP 210: Object-Oriented Programming Lecture Notes 1 Java Program Structure and Eclipse Robert Utterback In these notes we talk about the basic structure of Java-based OOP programs and how to setup and

More information

CS520 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. 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 information

RTMS - Software Setup

RTMS - 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 information

5/3/2006. Today! HelloWorld in BlueJ. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont. HelloWorld in BlueJ, Cont.

5/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 information

Assignment 1. Application Development

Assignment 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 information

3 CREATING YOUR FIRST JAVA APPLICATION (USING WINDOWS)

3 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 information

Computer Science AP 2017 Summer Assignment Mrs. McFarland

Computer Science AP 2017 Summer Assignment Mrs. McFarland Computer Science AP 2017 Summer Assignment Mrs. McFarland Read Chapter 1 from the book Think Java: How to Think Like a Computer Scientist by Allen B. Downey. I have included Chapter 1 in this pdf. If you

More information

Getting Started with Eclipse for Java

Getting 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 information

1. The Apache Derby database

1. The Apache Derby database 1. The Apache Derby database In these instructions the directory jdk_1.8.0_112 is named after the version 'number' of the distribution. Oracle tend to issue many new versions of the JDK/ JRE each year.

More information

13 th Windsor Regional Secondary School Computer Programming Competition

13 th Windsor Regional Secondary School Computer Programming Competition SCHOOL OF COMPUTER SCIENCE 13 th Windsor Regional Secondary School Computer Programming Competition Hosted by The School of Computer Science, University of Windsor WORKSHOP I [ Overview of the Java/Eclipse

More information

Setup and Getting Startedt Customized Java EE Training:

Setup 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 information

Introduction to Java Unit 1. Using BlueJ to Write Programs

Introduction to Java Unit 1. Using BlueJ to Write Programs Introduction to Java Unit 1. Using BlueJ to Write Programs 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I

BASIC COMPUTATION. public static void main(string [] args) Fundamentals of Computer Science I BASIC COMPUTATION x public static void main(string [] args) Fundamentals of Computer Science I Outline Using Eclipse Data Types Variables Primitive and Class Data Types Expressions Declaration Assignment

More information

At the shell prompt, enter idlde

At 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 information

1. Go to the URL Click on JDK download option

1. 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 information

2 Getting Started. Getting Started (v1.8.6) 3/5/2007

2 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 information

Instructions PLEASE READ (notice bold and underlined phrases)

Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercises wk02 Lab Basics First Lab of the course Required Reading Java Foundations - Section 1.1 - The Java Programming Language Instructions PLEASE READ (notice bold and underlined phrases) Lab Exercise

More information

S8352: Java From the Very Beginning Part I - Exercises

S8352: 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 information

1.00 Lecture 2. What s an IDE?

1.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 information

NetBeans IDE Java Quick Start Tutorial

NetBeans 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 information

Chapter Two Bonus Lesson: JavaDoc

Chapter Two Bonus Lesson: JavaDoc We ve already talked about adding simple comments to your source code. The JDK actually supports more meaningful comments as well. If you add specially-formatted comments, you can then use a tool called

More information

Eclipse Tutorial. For Introduction to Java Programming By Y. Daniel Liang

Eclipse 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 information

Getting Started with Web Services

Getting Started with Web Services Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be

More information

Lab #1: A Quick Introduction to the Eclipse IDE

Lab #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 information

Eclipse Environment Setup

Eclipse 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 information

Wowza IDE 2. User's Guide

Wowza IDE 2. User's Guide Wowza IDE 2 User's Guide Wowza IDE 2: User's Guide Copyright 2006 2013 Wowza Media Systems, LLC. http://www.wowza.com/ Third-Party Information This document contains links to third-party websites that

More information

Course Outline. Introduction to java

Course Outline. Introduction to java Course Outline 1. Introduction to OO programming 2. Language Basics Syntax and Semantics 3. Algorithms, stepwise refinements. 4. Quiz/Assignment ( 5. Repetitions (for loops) 6. Writing simple classes 7.

More information

3. NetBeans IDE 6.0. Java. Fall 2009 Instructor: Dr. Masoud Yaghini

3. NetBeans IDE 6.0. Java. Fall 2009 Instructor: Dr. Masoud Yaghini 3. NetBeans IDE 6.0 Java Fall 2009 Instructor: Dr. Masoud Yaghini Outline Installing the NetBeans IDE First NetBeans IDE Project IDE Windows Source Editor Customizing the IDE References Installing the

More information

Prerequisites for Eclipse

Prerequisites 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 information

MEAP Edition Manning Early Access Program Get Programming with Java Version 1

MEAP Edition Manning Early Access Program Get Programming with Java Version 1 MEAP Edition Manning Early Access Program Get Programming with Java Version 1 Copyright 2018 Manning Publications For more information on this and other Manning titles go to www.manning.com welcome First,

More information

LAB 1: FAMILIARITY WITH NETBEANS IDE ENVIRONMENT

LAB 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 information

Creating a new CDC policy using the Database Administration Console

Creating 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 information

Software and Programming 1

Software and Programming 1 Software and Programming 1 Lab 1: Introduction, HelloWorld Program and use of the Debugger 11 January 2018 SP1-Lab1-2017-18.pptx Tobi Brodie (tobi@dcs.bbk.ac.uk) 1 Module Information Lectures: Afternoon

More information

E-COMMERCE EDITOR USER GUIDE:

E-COMMERCE EDITOR USER GUIDE: USER GUIDE: E-COMMERCE EDITOR 0. Before starting... 2 0.1 Setting up your online shop... 2... 2 1. User area... 4 1.1 Shop overview:... 4 1.2 Orders... 6 1.3 General settings... 7 1.4 VAT... 8 1.5 Shipping

More information

Purpose. Why use Java? Installing the Software. Java

Purpose. Why use Java? Installing the Software. Java Purpose I am providing instructions for those that want to follow along the progress and missteps of Project BrainyCode. Going forward we will just refer to the project a JGG for Java Game Generator (I

More information

COSC 123 Computer Creativity. Introduction to Java. Dr. Ramon Lawrence University of British Columbia Okanagan

COSC 123 Computer Creativity. Introduction to Java. Dr. Ramon Lawrence University of British Columbia Okanagan COSC 123 Computer Creativity Introduction to Java Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca Key Points 1) Introduce Java, a general-purpose programming language,

More information

Using Eclipse Europa - A Tutorial

Using 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 information

Introduction. 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 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 information

Getting Started with Web Services

Getting Started with Web Services Getting Started with Web Services Getting Started with Web Services A web service is a set of functions packaged into a single entity that is available to other systems on a network. The network can be

More information

St. Edmund Preparatory High School Brooklyn, NY

St. Edmund Preparatory High School Brooklyn, NY AP Computer Science Mr. A. Pinnavaia Summer Assignment St. Edmund Preparatory High School Name: I know it has been about 7 months since you last thought about programming. It s ok. I wouldn t want to think

More information

SDKs - Eclipse. SENG 403, Tutorial 2

SDKs - 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 information

lejos NXJ Problem Solving with Robots [PRSOCO601]

lejos NXJ Problem Solving with Robots [PRSOCO601] lejos NXJ Problem Solving with Robots [PRSOCO601] Thomas Devine http://noucamp thomas.devine@lyit.ie February 20, 2008 1 Contents 1 lejos NXJ 4 1.1 Introducing the Java Development.......................

More information

PART 1. Eclipse IDE Tutorial. 1. What is Eclipse? Eclipse Java IDE

PART 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 information

You should now start on Chapter 4. Chapter 4 introduces the following concepts

You 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 information

Act! User's Guide Working with Your Contacts

Act! User's Guide Working with Your Contacts User s Guide (v18) Act! User's Guide What s Contact and Customer Management Software?... 8 Act! Ownership Change... 8 Starting Your Act! Software... 8 Log on... 9 Opening a Database... 9 Setting Up for

More information

WPS Workbench. user guide. "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs"

WPS Workbench. user guide. To help guide you through using the WPS user interface (Workbench) to create, edit and run programs WPS Workbench user guide "To help guide you through using the WPS user interface (Workbench) to create, edit and run programs" Version: 3.1.7 Copyright 2002-2018 World Programming Limited www.worldprogramming.com

More information

Workspace Administrator Help File

Workspace Administrator Help File Workspace Administrator Help File Table of Contents HotDocs Workspace Help File... 1 Getting Started with Workspace... 3 What is HotDocs Workspace?... 3 Getting Started with Workspace... 3 To access Workspace...

More information

AP Computer Science National Day School

AP Computer Science National Day School AP Computer Science A@Beijing National Day School Intalling the BlueJ IDE for Java Development Due date: September 2018 Instructor: Mr. Alwin Tareen Part A: Downloading and Installing the BlueJ Integrated

More information

Java with Eclipse: Setup & Getting Started

Java 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 information

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment.

CPS109 Lab 1. i. To become familiar with the Ryerson Computer Science laboratory environment. CPS109 Lab 1 Source: Partly from Big Java lab1, by Cay Horstmann. Objective: i. To become familiar with the Ryerson Computer Science laboratory environment. ii. To obtain your login id and to set your

More information

Java using LEGO Mindstorms and LeJOS. University of Idaho

Java using LEGO Mindstorms and LeJOS. University of Idaho Java using LEGO Mindstorms and LeJOS University of Idaho 2 Contents 1 Introduction 1 1.1 Setting up Java and Eclipse................................ 1 1.2 Setting up the Lego Brick to work with LeJOS.....................

More information

Chapter 1 - Introduction. Copyright 2014 by John Wiley & Sons. All rights reserved. 1

Chapter 1 - Introduction. Copyright 2014 by John Wiley & Sons. All rights reserved. 1 Chapter 1 - Introduction Copyright 2014 by John Wiley & Sons. All rights reserved. 1 Chapter Goals To learn about computers and programming To compile and run your first Java program To recognize compile-time

More information

EUSurvey OSS Installation Guide

EUSurvey OSS Installation Guide Prerequisites... 2 Tools... 2 Java 7 SDK... 2 MySQL 5.6 DB and Client (Workbench)... 4 Tomcat 7... 8 Spring Tool Suite... 11 Knowledge... 12 Control System Services... 12 Prepare the Database... 14 Create

More information

AP Computer Science Unit 1. Writing Programs Using BlueJ

AP Computer Science Unit 1. Writing Programs Using BlueJ AP Computer Science Unit 1. Writing Programs Using BlueJ 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

IBM. Developing with IBM Rational Application Developer for WebSphere Software V6

IBM. Developing with IBM Rational Application Developer for WebSphere Software V6 IBM 000-255 Developing with IBM Rational Application Developer for WebSphere Software V6 Download Full Version : http://killexams.com/pass4sure/exam-detail/000-255 Answer: C QUESTION: 99 A developer is

More information

How to make a "hello world" program in Java with Eclipse *

How to make a hello world program in Java with Eclipse * OpenStax-CNX module: m43473 1 How to make a "hello world" program in Java with Eclipse * Hannes Hirzel Based on How to make a "hello world" program in Java. by Rodrigo Rodriguez This work is produced by

More information

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments.

12/22/11. Java How to Program, 9/e. Help you get started with Eclipse and NetBeans integrated development environments. Java How to Program, 9/e Education, Inc. All Rights Reserved. } Java application programming } Use tools from the JDK to compile and run programs. } Videos at www.deitel.com/books/jhtp9/ Help you get started

More information

Getting Started (1.8.7) 9/2/2009

Getting 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 information

CEN 414 Java Programming

CEN 414 Java Programming CEN 414 Java Programming Instructor: H. Esin ÜNAL SPRING 2017 Slides are modified from original slides of Y. Daniel Liang WEEK 2 ELEMENTARY PROGRAMMING 2 Computing the Area of a Circle public class ComputeArea

More information

Starting In Java With JPT in Eclipse

Starting In Java With JPT in Eclipse Starting In Java With JPT in Eclipse 1. Installing Java and Eclipse Both Java from Sun Microsystems and the Eclipse development environment are free to download. It is important that Java be installed

More information

Using the Dev C++ Compiler to Create a Program

Using the Dev C++ Compiler to Create a Program This document assumes that you have already installed the Dev-C++ Compiler on your computer and run it for the first time to setup the initial configuration. USING DEV-C++ TO WRITE THE POPULAR "HELLO WORLD!"

More information

CSIS10A Installation Instructions for setting up the BlueJ Java IDE

CSIS10A Installation Instructions for setting up the BlueJ Java IDE CSIS10A Installation Instructions for setting up the BlueJ Java IDE I. Install Java JDK (NOT JRE!) 1) To use the BlueJ IDE in this class, you must first download the latest Java JDK from the following

More information

CS 201 Software Development Methods Spring Tutorial #1. Eclipse

CS 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 information

Introduction to Computation and Problem Solving

Introduction 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 information

Getting Started with Eclipse for Java

Getting 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 information

In the first class, you'll learn how to create a simple single-view app, following a 3-step process:

In the first class, you'll learn how to create a simple single-view app, following a 3-step process: Class 1 In the first class, you'll learn how to create a simple single-view app, following a 3-step process: 1. Design the app's user interface (UI) in Xcode's storyboard. 2. Open the assistant editor,

More information

CSC116: Introduction to Computing - Java

CSC116: Introduction to Computing - Java CSC116: Introduction to Computing - Java Course Information Introductions Website Syllabus Computers First Java Program Text Editor Helpful Commands Java Download Intro to CSC116 Instructors Course Instructor:

More information

'phred dist acd.tar.z'

'phred dist acd.tar.z' Phred is free for academic use but does require registration and for you to obtain a licence. Please visit http://www.phrap.org/consed/consed.html#howtoget and follow the instructions. A copy of the Phred

More information

This manual will explain how to do a mail merge in Cordell Connect, using the following Windows programs:

This manual will explain how to do a mail merge in Cordell Connect, using the following Windows programs: Section 10 Mail Merge Cordell Connect has very a useful mail merge function for letters and mailing labels. Mail merges can be performed using project, company or contact information. The data source for

More information

Newforma Contact Directory Quick Reference Guide

Newforma Contact Directory Quick Reference Guide Newforma Contact Directory Quick Reference Guide This topic provides a reference for the Newforma Contact Directory. Purpose The Newforma Contact Directory gives users access to the central list of companies

More information

BASIC USER TRAINING PROGRAM Module 1: Installation and Licensing

BASIC USER TRAINING PROGRAM Module 1: Installation and Licensing BASIC USER TRAINING PROGRAM Module 1: Installation and Licensing Objective Student will be able to install itest and connect to an appropriate license source Outline Installation Windows Linux Setting

More information

Module 3: Working with C/C++

Module 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 information

Visual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET

Visual Studio.NET. Although it is possible to program.net using only the command OVERVIEW OF VISUAL STUDIO.NET Chapter. 03 9/17/01 6:08 PM Page 35 Visual Studio.NET T H R E E Although it is possible to program.net using only the command line compiler, it is much easier and more enjoyable to use Visual Studio.NET.

More information

AP Computer Science Unit 1. Writing Programs Using BlueJ

AP Computer Science Unit 1. Writing Programs Using BlueJ AP Computer Science Unit 1. Writing Programs Using BlueJ 1. Open up BlueJ. Click on the Project menu and select New Project. You should see the window on the right. Navigate to wherever you plan to save

More information

Java: Classes. An instance of a class is an object based on the class. Creation of an instance from a class is called instantiation.

Java: Classes. An instance of a class is an object based on the class. Creation of an instance from a class is called instantiation. Java: Classes Introduction A class defines the abstract characteristics of a thing (object), including its attributes and what it can do. Every Java program is composed of at least one class. From a programming

More information

As CCS starts up, a splash screen similar to one shown below will appear.

As CCS starts up, a splash screen similar to one shown below will appear. APPENDIX A. CODE COMPOSER STUDIO (CCS) v6.1: A BRIEF TUTORIAL FOR THE DSK6713 A.1 Introduction Code Composer Studio (CCS) is Texas Instruments Eclipse-based integrated development environment (IDE) for

More information

StrikeRisk v5.0 Getting started

StrikeRisk v5.0 Getting started StrikeRisk v5.0 Getting started Contents 1 Introduction 1 2 Installing StrikeRisk 2 7 2.1 System Requirements 2 2.2 Installing StrikeRisk 2 5 2.3 Installation troubleshooting 6 2.4 Uninstalling StrikeRisk

More information

VikiLABS. July 8, 2017

VikiLABS.   July 8, 2017 VikiLABS Installing and Setting-Up Eclipse IDE to run Your First FreeRTOS Project (on a Windows PC) www.vikipedialabs.com July 8, 2017 1 Installations 1. Download the latest version of FreeRTOS from http://www.freertos.

More information

Getting Started with Eclipse/Java

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 information

2. create the workbook file

2. create the workbook file 2. create the workbook file Excel documents are called workbook files. A workbook can include multiple sheets of information. Excel supports two kinds of sheets for working with data: Worksheets, which

More information

Sun ONE Integrated Development Environment

Sun ONE Integrated Development Environment DiveIntoSunONE.fm Page 197 Tuesday, September 24, 2002 8:49 AM 5 Sun ONE Integrated Development Environment Objectives To be able to use Sun ONE to create, compile and execute Java applications and applets.

More information

Software Installation for CS121

Software 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 information

hdalbum User Designer Guide Collect Create Share Designer V 1.2

hdalbum User Designer Guide Collect Create Share Designer V 1.2 hdalbum User Designer Guide 2017 Collect Create Share Designer V 1.2 Table of Contents Contents Welcome to the hdalbum Designer... 2 Features... 2 System Requirements... 3 Supported File Types... 3 Installing

More information

Stellar WAB to PST Converter 1.0

Stellar WAB to PST Converter 1.0 Stellar WAB to PST Converter 1.0 1 Overview Stellar WAB to PST Converter software converts Outlook Express Address Book, also known as Windows Address Book (WAB) files to Microsoft Outlook (PST) files.

More information

ICOM 4015: Advanced Programming

ICOM 4015: Advanced Programming ICOM 4015: Advanced Programming Lecture 1 Reading: Chapter One: Introduction Chapter 1 Introduction Chapter Goals To understand the activity of programming To learn about the architecture of computers

More information

Java: Comment Text. Introduction. Concepts

Java: Comment Text. Introduction. Concepts Java: Comment Text Introduction Comment text is text included in source code that is ignored by the compiler and does not cause any machine-language object code to be generated. It is written into the

More information

Installing VS Code. Instructions for the Window OS.

Installing VS Code. Instructions for the Window OS. Installing VS Code Instructions for the Window OS. VS Code is a free text editor created by Microsoft. It is a lightweight version of their commercial product, Visual Studio. It runs on Microsoft Windows,

More information

1. The Apache Derby database

1. The Apache Derby database 1. The Apache Derby database In these instructions the directory jdk_1.8.0_102 is named after the version 'number' of the distribution. Oracle tend to issue many new versions of the JDK/ JRE each year.

More information

VEDATRAK CRM 3.0. User Guide

VEDATRAK CRM 3.0. User Guide VEDATRAK CRM 3.0 User Guide 2 (C) 2006-2012 SUI SOLUTIONS Ltd. All rights reserved. 3 Contents Overview...9 System Requirements...12 Installation Notes...13 Vedatrak Basics...14 User Roles...14 System

More information

Business Insight Authoring

Business Insight Authoring Business Insight Authoring Getting Started Guide ImageNow Version: 6.7.x Written by: Product Documentation, R&D Date: August 2016 2014 Perceptive Software. All rights reserved CaptureNow, ImageNow, Interact,

More information