CSU Banner

CS 163/164, Fall 2017

Lab 2 - Eclipse and Java Introduction

Thursday, Aug. 24th or Friday, Aug. 25th


Objectives of this Lab

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

Please bring your personal computer for this lab!

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.

Grading

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.
Submit P1.java to Checkin, using the checkin tab


CS Banner
CS Building