CS 55   Java Programming

Week 1

Agenda

References

The Java Tutorial - Getting Started
Introduction to Java Programming: Week 1 -  Elliotte Rusty Harold
Introduction to Java Programming: Java Procedural Syntax -  Elliotte Rusty Harold
Lecture Notes - week 1 - lecture notes based on Peter van der Linden's book Just Java

Lab1

Write a Java application (not an applet) that displays the following information: The following is also required: Don't forget to ask in the Programming Lab (B231) for the JAVA handout. Or, just follow the instructions below:

Using the Java Software Development Kit (SDK) in B231

  1. Start a Command Prompt.
  2. Set the current drive to C: and the current folder to \temp (or use some other storage device, e.g., a floppy or zip disk).
  3. Use Windows Notepad (or any other text editor) to create your Survey.java file.
  4. To set the path environment variable to make the Java SDK tools available, enter f:\geddes\cs55\jdk.bat at the command prompt.
  5. To compile your program, enter javac Survey.java
  6. To run your program, enter java Survey 
 < CS 55  > Home Email Last Modified September 10, 2004