Using CodeWarrior

Getting Started with Assignment 0

This example is intended to get you started with CodeWarrior. This example assumes that you are working from CDF-PC on campus. It shows you how to take Java files that are available to you in the "Handouts" folder, make your own copy on the H: drive, and then work on your copy of the files from within the CodeWarrior environment.

We'll assume that you want to get started with Assignment 0. The following three files have been given to you in the Handouts folder for Assignment 0: Assignment0.java, Baby.java, and Parent.java. The Assignment0.java file contains the main method.

There are several ways to do this, but I will describe what I feel is the simplest method. These steps should be easy enough, even for those of you who are not that familiar with computers. This method does not involve using the Explorer program.



  1. Get your own copy of the files



  2. Invoke CodeWarrior



  3. Create a new project



  4. Tell Java where the main method is



  5. Include Java Files



  6. Compile



  7. Run



  8. Closing CodeWarrior



  9. Reopening a Project