CSU Banner

CS 163/164, Spring 2018

Lab 2 - Eclipse and Java Introduction

Thursday, Jan. 18th or Friday, Jan. 19th

Objectives of this Lab

  1. Configure zyBooks with your eid
  2. Install Eclipse and Java on your personal computer (it is already installed on department machines!),
  3. get Eclipse set up and running on your Linux account,
  4. write a very simple Java program,
  5. show you how to submit your programs to the Checkin tab,
  6. and learn about preliminary (and final) testing.

Please bring your personal computer for this lab!

Configure zyBooks

In order for zyBooks to talk to Canvas, your eid must be in zyBooks. This is entered in the "Student ID" field when registering. This must be your eid and not your CSUID. Your eid is the username you typed to log on to the CS linux systems and to log into Canvas. Your EID is a 9-digit number that is on the front of your student ID card. Treat your username with the same privacy you would treat your e-mail address. Treat your CSUID with the same privacy as a Social Security Number (SSN).

Installing Eclipse

Eclipse makes programming easier by compiling and running your Java programs within a very sophisticated software application. Your TA will show you how to install Java and Eclipse on your personal computer. A personal computer is not required for this course, all work can be done on department, but it can be convenient at times to work from home. Here are are few hints:

Using Eclipse

For the remainder of the lab, please use the Linux system, if provided. Your TA will help with any problems you encounter.

Starting the Assignment

Your TA will guide you in creating a project called P1 and class for starting the first week assignment:

Submit your program

Your TA will now walk through logging in to the course website, submitting your code, and viewing preliminary test results. You should pass the first preliminary test. Read the assignment for P1. Now see if you can add another print statement and pass a second test. For detailed information on Eclipse, check out the Eclipse website. The website that allows you to submit progams and get them automatically graded. The TA will show you how to check the results of your preliminary and final testing, and how to retrieve your code from the Checkin tab.


Log into Canvas and answer the first question of the quiz. Raise your hand and show the TA your successful submittal to the Checkin tab and zyBooks with your eid in the Student ID field.
Submit P1.java to Checkin, using the checkin tab

CS Banner
CS Building