Programming Principles 1 (CSC131) & 2 (CSC132) Software usage guide

Size: px
Start display at page:

Download "Programming Principles 1 (CSC131) & 2 (CSC132) Software usage guide"

Transcription

1 School of Sciences Department of Computer Science and Engineering Programming Principles 1 (CSC131) & 2 (CSC132) Software usage guide WHAT SOFTWARE AM I GOING TO NEED/USE?... 3 WHERE DO I FIND THE SOFTWARE?... 4 HOW DO I INSTALL THE SOFTWARE?... 5 DO I NEED TO CONFIGURE ANYTHING?... 6 HOW DO I USE SCITE FOR MY JAVA PROGRAMS... 8 WHEN THINGS GO WRONG... 9 APPENDIX A - PROGRAMMING TIPS Andreas Grondoudis for DCSE

2 Page has been left blank intentionally 2 Last updated by Andreas Grondoudis on: Thursday, 02 February 2012

3 What software am I going to need/use? The following assumes that you already have a Microsoft Windows operation system already installed. There are two pieces of software that you will require. The listing below explains 1. You will need the Java Development Kit (or JDK) version 7 (and later). JDK is a free kit containing a collection of tools needed to compile and run your programs. Please note you want the JDK not the JRE 2. You will use a program editor called SciTE. This is a free versatile text editor enabling the creation of java files for the course. I think that you should also download and install 3. The Java Documentation. [Optional but recommended (especially for CSC132)] It is a set of HTML pages that are the specification of the language. Java contains literally thousands of methods, classes, tools and things that you can use. It is impossible to remember all of them by heart. The documentation is a point of reference for everything that is included in the kit. The documentation is an invaluable source of information. Frequently Asked Questions Q: Do I have a choice in any of this? A: Not really when it comes to 1 and 3. With the editor you can choose to use something else but please note: - this document focuses on assistance with SciTE - you are not allowed to use any application that automatically generates code Last updated by Andreas Grondoudis on: Thursday, 02 February

4 Where do I find the software? No need to do anything if you have decided to work in the university s labs. If you are working at home (or on your portable) then download the software from the relevant websites. Software: Java SE 7 Download: Directions: Scroll down a little bit and look for Java SE 7 and click the JDK download button. Select the correct version for your platform Software: Download Directions: Software: Download: Directions: Java SE 7 Documentation Scroll down on the page and look for Java SE 7 Documentation and click the download button WSciTE 2.28 or later Locate the Windows section and find the full download link Frequently Asked Questions Q: What size are the downloads? A: At last writing: JDK 80MB, JavaDOC 58MB and SciTE 1MB Q: What if I use Linux or Win64? A: The JDK comes in a various versions including Solaris, Linux and Windows. Just select the appropriate platform when you download. Please note this guide focuses on Windows based development. 4 Last updated by Andreas Grondoudis on: Thursday, 02 February 2012

5 How do I install the software? 1. You can install the JDK by simply starting up the file you downloaded. I suggest that you change the installation directory to: C:\Program Files\Java. In a couple of clicks you should have everything ready. 2. The documentation is a.zip file that needs to be extracted in your JDK installation folder (as above). When extracted you should have a new folder C:\Program Files\Java\docs 3. The editor. SciTE does not come with an installation wizard. All you get is a.zip folder containing all the required files to start using the program. Extract the archive and you should get a folder called <wscite>. Inside this folder you will find a <SciTE.exe>. This is the editor; create a shortcut to it on your desktop and you are finished Frequently Asked Questions Q: What is a ZIP file and how to I use it? A: A zip file is an archive that contains one or more other files compressed together to economise in space. Windows XP (and later) has inbuilt support for.zip files; just right-click on a zip file to see the available commands. Earlier version of windows need archive software 1 installed. Q: What happens if I want to install (say the Java SE) in another location? A: That is fine as long as you know where everything is going so that you know where to extract the documentation and later on configure SciTE 1 provides a comparison and download links Last updated by Andreas Grondoudis on: Thursday, 02 February

6 Do I need to configure anything? Nothing is required for Java SE and the documentation (provided you extracted it ok). After installation and extraction everything is in place and you can use the tools. SciTE needs to be configured. You need to let SciTE know where is the Java SE installed so it can find the compiler and interpreter tools. Don t worry this is fairly straightforward. All you are required to do is type some information in a file. Just follow the steps below and you should be done in no time at all. 1. Make a note of the location that you installed Java SE. Say for example if you installed in c:\program files\java. This is your root-jdk directory. 2. Run SciTE. 3. From the menu select <Options> and then <Open cpp.properties> to open the file. 4. From the menu select <Search> and then <Find >. In the dialog that comes up type the following (exactly as you see it below) command.compile.*.java 5. Click on <Find Next> and your SciTE will look through the document to locate the phrase. It should look something like 6. Here is the only editing you are required to do. a. Edit the 1 st and 3 rd lines and b. just after the = sign enter your root-jdk directory followed by \bin\. c. Remember you are supposed to use YOUR root-jdk directory. In my example the root-jdk directory is C:\program files\java\ d. So I had to insert the following just after the 1 st and 3 rd equal signs C:\program files\java\bin\ e. Then the cpp.properties file (while being edited in SciTE) should look like 7. Don't edit anything else; save and close cpp.properties. 8. That is it. SciTE is configured and now knows where the Java SE tools are located. 6 Last updated by Andreas Grondoudis on: Thursday, 02 February 2012

7 Frequently Asked Questions Q: My Java SE is installed somewhere else, what do I do? A:You need to write down where you Java SE is installed and follow the steps above but don t type what is on these pages, type your Java SE path instead. If you are not able to find it manually, do a search in windows and try locating a file called 'javac.exe' or 'java.exe' Q: Don t we need to change anything else, there is a java before the = and java and javac after somewhere? A: No Q: Do I need to do anything to the second line? A: No Q: I don t know where SciTE is installed, what now? A: The default location is c:\program files\wscite\scite.exe. If you installed/extracted somewhere else and you forgot where, then you need to use your Windows search tools and look for a file called scite.exe Q: I am looking at the Java directory now and there is no bin folder there. What is wrong? A: Sometimes the machine might also include a Java Runtime Environment installation and that is usually installed in C:\program files\java\jre6 or C:\program files\java\jre7 or something similar. Please make sure that you are not looking in that folder. You should make a note of the folder you installed the java development kit. Q: I have completed the configuration but when I try to compile I still get nowhere? Or I get the following errors >The system cannot find the file specified... or >'c:\program' is not recognized as an internal... A: Something is wrong with your configuration retry the steps above making certain that you are actually using the correct folder for your java SE. Last updated by Andreas Grondoudis on: Thursday, 02 February

8 How do I use SciTE for my java programs Run SciTE and type the following code in a new file Then select <File> and <Save> the file under the name Test.java. Now that the file is ready you move on to the compilation of the file. You compile a java program by selecting <Tools> and <Compile Ctrl+F7>. Provided that the configuration was correct; the compiler checks the file and creates a class that can be executed (or run as we say). The output of the compilation is shown on the right hand side of the SciTE window (see below). When you get an >Exit code: 0 this means that everything is OK and the compile operation was successful. Having the file compiled means that we can now run it (or execute it).you execute a file by selecting <Tools> and <Go F5> (or just press the F5 key). The result will be as indicated below The Hello that you see is the execution of the program. The >Exit code: 0 means that execution terminates normally and no errors were reported. This is it. You have compiled and executed a java program called Test. 8 Last updated by Andreas Grondoudis on: Thursday, 02 February 2012

9 When things go wrong If something was wrong; say you missing the last curly bracket '}' then the compiler will complain by bringing up an error. The following figure illustrates. Notice that line 7 (on the left) is now empty and that the compiler output on the right includes details of 1 error. In the second line of the complier output the compile is showing you: 1) the file in error (Test.java) 2) the line of the error (:6:) and 3) a short error explanation (reached end of file while parsing). Also note that the Exit code is now 1 which means that something went wrong and errors were reported. By double clicking on the error reporting line the editor will take you there (see below) After you correct the error; save the file, compile again and you should be ready to execute. Frequently Asked Questions Q: When I try to compile I get the following: >The system cannot find the file specified... or >'c:\program' is not recognized as an internal... A: Your SciTE does not know where the J2SE is installed. You need to configure your SciTE, please refer to the relevant section above. Q: When I try to compile I get too many mistakes. The right side of SciTE fills up A: When you type a program you have to be very careful of what you are typing. Java is a case sensitive language so System.out is not the same as system.out. It is common for (new) users to have quite a few mistakes. All you have to do is go through your code and correct them Last updated by Andreas Grondoudis on: Thursday, 02 February

10 Appendix A - Programming tips 1. You have to be patient and persistent. Programs can take a while to complete. Don t give up 2. The compiler has nothing against you, as do the keyboard, monitor and case. They are just doing their job; don t take your frustration out on them. 3. Java is case sensitive. This means that JOptionPane is not the same as joptionpane, and String is not the same as string. 4. Remember to save.java files with the same name as the class name that you used inside the file. If inside the file you wrote public class My_first_class then you should save this file as My_first_class.java. If you use any other name, the compiler will report error(s). 5. The compiler is very rarely wrong. If it is reporting a mistake then it means that you do have a mistake somewhere (see point 7 below) 6. When you do get 10 or even 100 scrolls worth of mistakes do NOT despair. Usually mistakes at the beginning of the program can cause many mistakes later on. What you should do is scroll-back at the top of the compiler output window and try to correct the mistakes starting from the top. 7. Quite often mistakes are reported on lines that when you see them no mistake exists. This, 99% of the times, means that there is mistake somewhere above in the program. If the code is in a loop somewhere; look at the loop first and then look and the method that the loop was in and so on. Try and double-check related code (close and sometimes far) to the mistake reporting line. 8. When you do copy and paste code that you don t want to retype you have to take care to make any minor required changes. Quite often, especially when we have to paste the code in more than one place what you do is: paste everywhere first and then go back and adjust the code. The problem here is that you might have actually copied the code in, say, 10 places and went to make the adjustments in only 9 of them. Then the one place that you didn t change will: 1) Not report an error and 2) Run OK, but quite possibly not as you want it. So, what you need to do is, paste the code and make the changes there and then (so that you don t forget later on). The clipboard holds the text so you can then carry on to the next paste and change. 9. When you are starting a method or a loop or anything else that might require the use of start and end braces what most people do is start with the open brace and carry on to type the code inside the brace. Then (at the end) type the closing brace. This is fine but, if you have to type many lines inside the brace, you tend to forget to put the closing brace at the end. This leads to the compiler reporting (numerous sometimes) } expected. A very handy tip to use is: Write both the opening and closing brace at the same time and then take your cursor back in the middle of the two to complete the code. This way, anything you write in there (no matter how many lines it is) will be inside the braces. 10. Use the Java documentation. You might be doing something wrong without knowing it. 11. Using Netbeans or Eclipse as your editor: o o CSC131 students: should avoid it. When typing they offer help or autocomplete. That is ok when typing but when writing an exam you will NOT have that and you might find yourself not remembering how to write something simple. CSC132 students: you are not allowed to (especially for GUI development) 10 Last updated by Andreas Grondoudis on: Thursday, 02 February 2012

Department of Computer Science. Software Usage Guide. CSC132 Programming Principles 2. By Andreas Grondoudis

Department of Computer Science. Software Usage Guide. CSC132 Programming Principles 2. By Andreas Grondoudis Department of Computer Science Software Usage Guide To provide a basic know-how regarding the software to be used for CSC132 Programming Principles 2 By Andreas Grondoudis WHAT SOFTWARE AM I GOING TO NEED/USE?...2

More information

Running Java Programs

Running 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 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

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

Setting up your Computer

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

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to:

Get JAVA. I will just tell you what I did (on January 10, 2017). I went to: Get JAVA To compile programs you need the JDK (Java Development Kit). To RUN programs you need the JRE (Java Runtime Environment). This download will get BOTH of them, so that you will be able to both

More information

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG

CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG CS/IT 114 Introduction to Java, Part 1 FALL 2016 CLASS 2: SEP. 8TH INSTRUCTOR: JIAYIN WANG 1 Notice Class Website http://www.cs.umb.edu/~jane/cs114/ Reading Assignment Chapter 1: Introduction to Java Programming

More information

Chapter 2. Editing And Compiling

Chapter 2. Editing And Compiling Chapter 2. Editing And Compiling Now that the main concepts of programming have been explained, it's time to actually do some programming. In order for you to "edit" and "compile" a program, you'll need

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

Slide 1 CS 170 Java Programming 1 Duration: 00:00:49 Advance mode: Auto

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

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet. Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that

More information

How to Install (then Test) the NetBeans Bundle

How to Install (then Test) the NetBeans Bundle How to Install (then Test) the NetBeans Bundle Contents 1. OVERVIEW... 1 2. CHECK WHAT VERSION OF JAVA YOU HAVE... 2 3. INSTALL/UPDATE YOUR JAVA COMPILER... 2 4. INSTALL NETBEANS BUNDLE... 3 5. CREATE

More information

CSCI 201 Lab 1 Environment Setup

CSCI 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 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

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

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

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

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

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10" 9" 8" No."of"students"vs."no.

02/03/15. Compile, execute, debugging THE ECLIPSE PLATFORM. Blanks'distribu.on' Ques+ons'with'no'answer' 10 9 8 No.ofstudentsvs.no. Compile, execute, debugging THE ECLIPSE PLATFORM 30" Ques+ons'with'no'answer' What"is"the"goal"of"compila5on?" 25" What"is"the"java"command"for" compiling"a"piece"of"code?" What"is"the"output"of"compila5on?"

More information

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017

Introduction to Java. Lecture 1 COP 3252 Summer May 16, 2017 Introduction to Java Lecture 1 COP 3252 Summer 2017 May 16, 2017 The Java Language Java is a programming language that evolved from C++ Both are object-oriented They both have much of the same syntax Began

More information

1) Log on to the computer using your PU net ID and password.

1) Log on to the computer using your PU net ID and password. CS 150 Lab Logging on: 1) Log on to the computer using your PU net ID and password. Connecting to Winter: Winter is the computer science server where all your work will be stored. Remember, after you log

More information

Lecture (01) Getting started. Dr. Ahmed ElShafee

Lecture (01) Getting started. Dr. Ahmed ElShafee Lecture (01) Getting started Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, fundamentals of Programming I, Agenda Download and Installation Java How things work NetBeans Comments Structure of the program Writing

More information

Burning CDs in Windows XP

Burning CDs in Windows XP B 770 / 1 Make CD Burning a Breeze with Windows XP's Built-in Tools If your PC is equipped with a rewritable CD drive you ve almost certainly got some specialised software for copying files to CDs. If

More information

Teacher Guide. Edline -Teachers Guide Modified by Brevard Public Schools Revised 6/3/08

Teacher Guide. Edline -Teachers Guide Modified by Brevard Public Schools  Revised 6/3/08 Teacher Guide Teacher Guide EDLINE This guide was designed to give you quick instructions for the most common class-related tasks that you will perform while using Edline. Please refer to the online Help

More information

Setting Up the Development Environment

Setting Up the Development Environment CHAPTER 5 Setting Up the Development Environment This chapter tells you how to prepare your development environment for building a ZK Ajax web application. You should follow these steps to set up an environment

More information

Class 1: Homework. Intro to Computer Science CSCI-UA.0101 New York University Courant Institute of Mathematical Sciences Fall 2017

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

IntelliJ IDEA Getting Started Guide for FIRST Robotics Competition

IntelliJ IDEA Getting Started Guide for FIRST Robotics Competition IntelliJ IDEA 2016.1 Getting Started Guide for FIRST Robotics Competition 1 PRE-REQUISITES GitHub account. Knowledge of your computer and how to use it. Administrator Account on your computer. Access to

More information

Download and Installation Instructions. Java JDK Software for Windows

Download and Installation Instructions. Java JDK Software for Windows Download and Installation Instructions for Java JDK Software for Windows Updated October, 2017 The CompuScholar Java Programming and Android Programming courses use the Java Development Kit (JDK) software.

More information

RELAIS. Installation Guide in Windows Environment

RELAIS. Installation Guide in Windows Environment RELAIS Installation Guide in Windows Environment Version 3.x Editors: Monica Scannapieco (ISTAT) Laura Tosco (ISTAT) Luca Valentino (ISTAT) Index 1 RELAIS: installation and configuration... 3 1.1 Java

More information

XP: Backup Your Important Files for Safety

XP: Backup Your Important Files for Safety XP: Backup Your Important Files for Safety X 380 / 1 Protect Your Personal Files Against Accidental Loss with XP s Backup Wizard Your computer contains a great many important files, but when it comes to

More information

This lecture will take you through simple and practical approach while learning Java Programming language.

This lecture will take you through simple and practical approach while learning Java Programming language. JAVA TUTORIAL GENERAL Java is a high-level programming language originally developed by Sun Microsystems and released in 1995. Java runs on a variety of platforms, such as Windows, Mac OS, and the various

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

Mehran Sahami Handout #5 CS 106A September 27, 2017 Downloading Eclipse

Mehran Sahami Handout #5 CS 106A September 27, 2017 Downloading Eclipse Mehran Sahami Handout #5 CS 106A September 27, 2017 Downloading Eclipse Parts of this handout were written by Justin Manus and Brandon Burr and then wantonly updated by your loving CS106A staff. In CS106A,

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 Java. Atul Prakash

Getting Started with Java. Atul Prakash Getting Started with Java Atul Prakash Running Programs C++, Fortran, Pascal Python, PHP, Ruby, Perl Java is compiled into device-independent code and then interpreted Source code (.java) is compiled into

More information

Subversion was not there a minute ago. Then I went through a couple of menus and eventually it showed up. Why is it there sometimes and sometimes not?

Subversion was not there a minute ago. Then I went through a couple of menus and eventually it showed up. Why is it there sometimes and sometimes not? Subversion was not there a minute ago. Then I went through a couple of menus and eventually it showed up. Why is it there sometimes and sometimes not? Trying to commit a first file. There is nothing on

More information

TRIS Teaching Resource Information Service

TRIS Teaching Resource Information Service TRIS Teaching Resource Information Service Newsletter Issue 4 The TRIS - team at the Faculty of Sciences, University of Kent, Canterbury Funded by Challenge Fund, UELT P DF (portable document format) documents

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

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

Slide 1 Java Programming 1 Lecture 2D Java Mechanics Duration: 00:01:06 Advance mode: Auto

Slide 1 Java Programming 1 Lecture 2D Java Mechanics Duration: 00:01:06 Advance mode: Auto Java Programming 1 Lecture 2D Java Mechanics Slide 1 Java Programming 1 Lecture 2D Java Mechanics Duration: 00:01:06 To create your own Java programs, you follow a mechanical process, a well-defined set

More information

A Tutorial on using Code::Blocks with Catalina 3.0.3

A Tutorial on using Code::Blocks with Catalina 3.0.3 A Tutorial on using Code::Blocks with Catalina 3.0.3 BASIC CONCEPTS...2 PREREQUISITES...2 INSTALLING AND CONFIGURING CODE::BLOCKS...3 STEP 1 EXTRACT THE COMPONENTS...3 STEP 2 INSTALL CODE::BLOCKS...3 Windows

More information

1.00/1.001 HowTo: Install Eclipse

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

IT151: Introduction to Programming (java)

IT151: Introduction to Programming (java) IT151: Introduction to Programming (java) Programming Basics Program A set of instructions that a computer uses to do something. Programming / Develop The act of creating or changing a program Programmer

More information

Standard Edition (SE) application development Enterprise Edition (EE) enterprise development Micro Edition (ME) Internet of Things (IoT) development

Standard Edition (SE) application development Enterprise Edition (EE) enterprise development Micro Edition (ME) Internet of Things (IoT) development Contents 1. Develop your project... 1 1.1. Install the latest version of the Oracle Java SE JDK... 1 1.2. Install the latest documentation for this version of the Oracle Java SE JDK... 3 1.3. Install the

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

Tutorial 1: Unix Basics

Tutorial 1: Unix Basics Tutorial 1: Unix Basics To log in to your ece account, enter your ece username and password in the space provided in the login screen. Note that when you type your password, nothing will show up in the

More information

Using Eclipse for C Programming

Using Eclipse for C Programming Using Eclipse for C Programming George Ferguson ferguson@cs.rochester.edu June 2018 Abstract Students are used to using the Eclipse IDE for programming in Java. This document describes how to install and

More information

500 Business Center Drive Pittsburgh, PA USA Phone: Fax: CAGE Code 1BGJ7

500 Business Center Drive Pittsburgh, PA USA Phone: Fax: CAGE Code 1BGJ7 500 Business Center Drive Pittsburgh, PA 15205 USA Phone: +1.412.494.2800 Fax: +1.412.494.5550 CAGE Code 1BGJ7 www.secureswitch.com SwitchCenter Installation: SwitchCenter software requires a computer

More information

JVM interprets the Java bytecode, controls how it interacts with the operating system and manages memory.

JVM interprets the Java bytecode, controls how it interacts with the operating system and manages memory. Appendix 2 Installing the Java Development Kit A2.1. Why Java? Presented in May 1995 and developed by J. Gosling and P. Naughton of Sun Microsystems, Java is an object-oriented programming language. It

More information

Web Questing. Go to the Web Quest site (webquest.org)

Web Questing. Go to the Web Quest site (webquest.org) Web Questing This tutorial goes through the steps necessary to create a Webquest using the Webquest Templates. Go to the Web Quest site (webquest.org) Web Questing - 1 Spend some time exploring this site.

More information

Assignment 0. Nothing here to hand in

Assignment 0. Nothing here to hand in Assignment 0 Nothing here to hand in The questions here have solutions attached. Follow the solutions to see what to do, if you cannot otherwise guess. Though there is nothing here to hand in, it is very

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

Instructions. First, download the file

Instructions. First, download the file Instructions First, download the file http://www.cs.mcgill.ca/~cs202/2012-09/web/lectures/dan/unit0/helloworld.java from the course webpage. You can view this file in a program such as notepad (windows),

More information

Initial Coding Guidelines

Initial Coding Guidelines Initial Coding Guidelines ITK 168 (Lim) This handout specifies coding guidelines for programs in ITK 168. You are expected to follow these guidelines precisely for all lecture programs, and for lab programs.

More information

Android Studio Setup Procedure

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

SAP GUI 7.30 for Windows Computer

SAP GUI 7.30 for Windows Computer SAP GUI 7.30 for Windows Computer Student and Faculty Installation Instructions Table of Contents Caution:... 2 System Requirements:... 2 System Memory (RAM) requirements:... 2 Disk Space requirements:...

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

My First iphone App. 1. Tutorial Overview

My First iphone App. 1. Tutorial Overview My First iphone App 1. Tutorial Overview In this tutorial, you re going to create a very simple application on the iphone or ipod Touch. It has a text field, a label, and a button. You can type your name

More information

Java TM SE 7 Release Notes Microsoft Windows Installation (32-bit)

Java TM SE 7 Release Notes Microsoft Windows Installation (32-bit) » search tips Search Products and Technologies Technical Topics Join Sun Developer Network Java TM SE 7 Release Notes Microsoft Windows Installation (32-bit) System Requirements JDK Documentation See supported

More information

ENCM 339 Fall 2017: Editing and Running Programs in the Lab

ENCM 339 Fall 2017: Editing and Running Programs in the Lab page 1 of 8 ENCM 339 Fall 2017: Editing and Running Programs in the Lab Steve Norman Department of Electrical & Computer Engineering University of Calgary September 2017 Introduction This document is a

More information

My First Cocoa Program

My First Cocoa Program My First Cocoa Program 1. Tutorial Overview In this tutorial, you re going to create a very simple Cocoa application for the Mac. Unlike a line-command program, a Cocoa program uses a graphical window

More information

How to build Simbody 2.2 from source on Windows

How to build Simbody 2.2 from source on Windows How to build Simbody 2.2 from source on Windows Michael Sherman, 30 Mar 2011 (minor revision 27 July 2011) Simbody 2.2 was re-engineered to be much easier to build from source than previous releases. One

More information

How To Upload Your Newsletter

How To Upload Your Newsletter How To Upload Your Newsletter Using The WS_FTP Client Copyright 2005, DPW Enterprises All Rights Reserved Welcome, Hi, my name is Donna Warren. I m a certified Webmaster and have been teaching web design

More information

Getting help with Edline 2. Edline basics 3. Displaying a class picture and description 6. Using the News box 7. Using the Calendar box 9

Getting help with Edline 2. Edline basics 3. Displaying a class picture and description 6. Using the News box 7. Using the Calendar box 9 Teacher Guide 1 Henry County Middle School EDLINE March 3, 2003 This guide gives you quick instructions for the most common class-related activities in Edline. Please refer to the online Help for additional

More information

Week - 01 Lecture - 04 Downloading and installing Python

Week - 01 Lecture - 04 Downloading and installing Python Programming, Data Structures and Algorithms in Python Prof. Madhavan Mukund Department of Computer Science and Engineering Indian Institute of Technology, Madras Week - 01 Lecture - 04 Downloading and

More information

Programming in Java Prof. Debasis Samanta Department of Computer Science Engineering Indian Institute of Technology, Kharagpur

Programming in Java Prof. Debasis Samanta Department of Computer Science Engineering Indian Institute of Technology, Kharagpur Programming in Java Prof. Debasis Samanta Department of Computer Science Engineering Indian Institute of Technology, Kharagpur Lecture 04 Demonstration 1 So, we have learned about how to run Java programs

More information

the NXT-G programming environment

the NXT-G programming environment 2 the NXT-G programming environment This chapter takes a close look at the NXT-G programming environment and presents a few simple programs. The NXT-G programming environment is fairly complex, with lots

More information

Tips & Tricks for Microsoft Word

Tips & Tricks for Microsoft Word T 330 / 1 Discover Useful Hidden Features to Speed-up Your Work in Word For what should be a straightforward wordprocessing program, Microsoft Word has a staggering number of features. Many of these you

More information

CS 170 Java Tools. Step 1: Got Java?

CS 170 Java Tools. Step 1: Got Java? CS 170 Java Tools This summer in CS 170 we'll be using the DrJava Integrated Development Environment. You're free to use other tools but this is what you'll use on your programming exams, so you'll need

More information

CS125 : Introduction to Computer Science. Lecture Notes #4 Type Checking, Input/Output, and Programming Style

CS125 : Introduction to Computer Science. Lecture Notes #4 Type Checking, Input/Output, and Programming Style CS125 : Introduction to Computer Science Lecture Notes #4 Type Checking, Input/Output, and Programming Style c 2005, 2004, 2002, 2001, 2000 Jason Zych 1 Lecture 4 : Type Checking, Input/Output, and Programming

More information

Life Without NetBeans

Life Without NetBeans Life Without NetBeans Part A Writing, Compiling, and Running Java Programs Almost every computer and device has a Java Runtime Environment (JRE) installed by default. This is the software that creates

More information

Mehran Sahami Handout #5 CS 106A September 26, 2018 Downloading Eclipse

Mehran Sahami Handout #5 CS 106A September 26, 2018 Downloading Eclipse Mehran Sahami Handout #5 CS 106A September 26, 2018 Downloading Eclipse Parts of this handout were written by Justin Manus and Brandon Burr and then wantonly updated by your loving CS106A staff. In CS106A,

More information

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version.

NetBeans Tutorial. For Introduction to Java Programming By Y. Daniel Liang. This tutorial applies to NetBeans 6, 7, or a higher version. NetBeans Tutorial For Introduction to Java Programming By Y. Daniel Liang This tutorial applies to NetBeans 6, 7, or a higher version. This supplement covers the following topics: Getting Started with

More information

Intro to Microsoft Word

Intro to Microsoft Word Intro to Microsoft Word A word processor is a computer program used to create and print text documents that might otherwise be prepared on a typewriter. The key advantage of a word processor is its ability

More information

CS3 Midterm 1 Fall 2006

CS3 Midterm 1 Fall 2006 Overall, you did good job on this exam. CS3 Midterm 1 Fall 2006 Standards and Solutions 20 10 0 8.0 30.0 28.0 26.0 24.0 22.0 20.0 18.0 16.0 14.0 12.0 10.0 Std. Dev = 5.34 Mean = 21.6 N = 133.00 MT1_SCL

More information

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object

Exercise 1 Using Boolean variables, incorporating JavaScript code into your HTML webpage and using the document object CS1046 Lab 5 Timing: This lab should take you approximately 2 hours. Objectives: By the end of this lab you should be able to: Recognize a Boolean variable and identify the two values it can take Calculate

More information

Customizing DAZ Studio

Customizing DAZ Studio Customizing DAZ Studio This tutorial covers from the beginning customization options such as setting tabs to the more advanced options such as setting hot keys and altering the menu layout. Introduction:

More information

Fundamental C# Programming

Fundamental C# Programming Part 1 Fundamental C# Programming In this section you will find: Chapter 1: Introduction to C# Chapter 2: Basic C# Programming Chapter 3: Expressions and Operators Chapter 4: Decisions, Loops, and Preprocessor

More information

Instructions for Using the Databases

Instructions for Using the Databases Appendix D Instructions for Using the Databases Two sets of databases have been created for you if you choose to use the Documenting Our Work forms. One set is in Access and one set is in Excel. They are

More information

CSC116: Introduction to Computing - Java

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

More information

The NetBeans IDE is a big file --- a minimum of around 30 MB. After you have downloaded the file, simply execute the file to install the software.

The NetBeans IDE is a big file --- a minimum of around 30 MB. After you have downloaded the file, simply execute the file to install the software. Introduction to Netbeans This document is a brief introduction to writing and compiling a program using the NetBeans Integrated Development Environment (IDE). An IDE is a program that automates and makes

More information

Mr.Kailley s AP Chem programming Unit Set up instruction sheet for PC s (Mac will be kind of similar: good luck) 1) Go to the following website:

Mr.Kailley s AP Chem programming Unit Set up instruction sheet for PC s (Mac will be kind of similar: good luck) 1) Go to the following website: Mr.Kailley s AP Chem programming Unit Set up instruction sheet for PC s (Mac will be kind of similar: good luck) 1) Go to the following website: https://www.easyeclipse.org/site/distributions/desktop-java.html

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

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

Lab: Supplying Inputs to Programs

Lab: Supplying Inputs to Programs Steven Zeil May 25, 2013 Contents 1 Running the Program 2 2 Supplying Standard Input 4 3 Command Line Parameters 4 1 In this lab, we will look at some of the different ways that basic I/O information can

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

Handout 4: Version Control Reference

Handout 4: Version Control Reference CSCI 2600 Principles of Software Handout 4: Version Control Reference Introduction SVN (Subversion) provides the following functionality: It allows multiple users to edit the same files independently,

More information

Java/RealJ Troubleshooting Guide

Java/RealJ Troubleshooting Guide Java/RealJ Troubleshooting Guide by Bob Clark / Sharon Curtis / Simon Jones, September 2000 Some of these tips you will come across during your practical sessions, however we felt it would be helpful to

More information

Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples. By John B. Owen All rights reserved 2011, revised 2015

Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples. By John B. Owen All rights reserved 2011, revised 2015 Lesson 1A - First Java Program HELLO WORLD With DEBUGGING examples By John B. Owen All rights reserved 2011, revised 2015 Table of Contents Objectives Hello World Lesson Sequence Compile Errors Lexical

More information

Tips from the experts: How to waste a lot of time on this assignment

Tips from the experts: How to waste a lot of time on this assignment Com S 227 Spring 2018 Assignment 1 100 points Due Date: Friday, September 14, 11:59 pm (midnight) Late deadline (25% penalty): Monday, September 17, 11:59 pm General information This assignment is to be

More information

Laboratory Assignment #3 Eclipse CDT

Laboratory Assignment #3 Eclipse CDT Lab 3 September 12, 2010 CS-2303, System Programming Concepts, A-term 2012 Objective Laboratory Assignment #3 Eclipse CDT Due: at 11:59 pm on the day of your lab session To learn to learn to use the Eclipse

More information

InterPSS OpenCIM User s Guide Software Release 1.2.1

InterPSS OpenCIM User s Guide Software Release 1.2.1 InterPSS OpenCIM User s Guide Software Release 1.2.1 March, 2010 i Important Information USE OF INTERPSS SOFTWARE AND THIS DOCUMENT IS SUBJECT TO THE TERMS AND CONDITIONS OF A LICENSE AGREEMENT FOUND IN

More information

ORACLE SQL DEVELOPER

ORACLE SQL DEVELOPER ORACLE SQL DEVELOPER INTRODUCTION TO ORACLE SQL DEVELOPER Oracle SQL Developer is an Integrated development environment (IDE) for working with SQL in Oracle databases. Oracle Corporation provides this

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

Yup, left blank on purpose. You can use it to draw whatever you want :-)

Yup, left blank on purpose. You can use it to draw whatever you want :-) Yup, left blank on purpose. You can use it to draw whatever you want :-) Chapter 1 The task I have assigned myself is not an easy one; teach C.O.F.F.E.E. Not the beverage of course, but the scripting language

More information

Object-Oriented Programming in Java

Object-Oriented Programming in Java CSCI/CMPE 3326 Object-Oriented Programming in Java Course Information, JVM, Compile and Run, IDE, Android Studio Dr. Dongchul Kim Department of Computer Science University of Texas Rio Grande Valley Course

More information

CMPSCI 187 / Spring 2015 Hangman

CMPSCI 187 / Spring 2015 Hangman CMPSCI 187 / Spring 2015 Hangman Due on February 12, 2015, 8:30 a.m. Marc Liberatore and John Ridgway Morrill I N375 Section 01 @ 10:00 Section 02 @ 08:30 1 CMPSCI 187 / Spring 2015 Hangman Contents Overview

More information

CMSC 201 Spring 2017 Lab 01 Hello World

CMSC 201 Spring 2017 Lab 01 Hello World CMSC 201 Spring 2017 Lab 01 Hello World Assignment: Lab 01 Hello World Due Date: Sunday, February 5th by 8:59:59 PM Value: 10 points At UMBC, our General Lab (GL) system is designed to grant students the

More information

Javac and Eclipse tutorial

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

Summer Assignment for AP Computer Science. Room 302

Summer Assignment for AP Computer Science. Room 302 Fall 2016 Summer Assignment for AP Computer Science email: hughes.daniel@north-haven.k12.ct.us website: nhhscomputerscience.com APCS is your subsite Mr. Hughes Room 302 Prerequisites: You should have successfully

More information