To Start!  Instruction

Log in the computer

login user name: your umass dartmouth email address without "@umassd.edu", password: Spring2012

MyCourse Website

1. Open a web browser program from "Application", type the url address: https://login.umassonline.net/dartmouth.cfm
2. Use your umass dartmouth username and password to log in. After you log in, if you already registered for this course, you should see CIS180 in your class list. myCourses support documentation is availabe on: http://www.umassd.edu/cits/id/student/.
3. In this ocurse, you need use myCourse to view additional course resources and submit your assignments when required. So get familiar with myCourse.

Eclipse Java IDE

A complete tutorial is here: http://www.vogella.de/articles/Eclipse/article.html. Below is a short version.

1. Workspace The workspace is the physical location (file path) you are working in. You can choose the workspace during startup of eclipse or via the menu (File-> Switch Workspace-> Others). All your projects, sources files, images and other artifacts will be stored and saved in your workspace.

2. Perspective and Editors A perspective is a visual container for a set of views and editors. You can change the layout within a perspective (close / open views, editors, change the size, change the position, etc.). Eclipse allow you to switch to another perspective via the menu Window->Open Perspective -> Other. For Java development you usually use the "Java Perspective".  Editors are used to modify elements. Editors can have code completion, undo / redo, etc. To apply the changes in an editor to the underlying resources, e.g. Java source file, you usually have to save.

3. Create your first Java program The following will describe how to create a minimal Java program using Eclipse.

3.1 Create project  Select from the menu File -> New-> Java project. Maintain "cis180.lab0" as the project name. Select "Create separate source and output folders". Press finish to create the project. A new project is created and displayed as a folder. Open the folder "cis180".

3.2 Create package Create now a package. A good convention is to use the same name for the top package as the project. Create therefore the package "cis180.lab0". Select the folder src, right mouse click on it and select New -> Package.

3.3 Create Java class Right click on your package and select New -> Class. Create Colors class, select the flag "public static void main (String[] args)".  Now follow the Lab 0 instruction to edit the Colors.java file.

3.4 Run your project in Eclipse Now run your code. Right click on your Java class and select Run-as-> Java application.