One-time Only Steps:
Using DrJava
Download the cse1xxTester package (this is necessary only once) from:
http://www.seas.upenn.edu/~cis1xx/lib/cse1xxTester.jar
In DrJava, go to Edit > Preferences > Resource Locations. Click the Add button and locate the cse1xxTester.jar file you just downloaded. This will add the tester package to your classpath.
We suggest you put the file in a directory named something along the lines of cse120\lib.
Then follow these directions:
1. Download the supplied tester (for example, lab01Tester.java)
2. Open the tester in DrJava and compile it.
3. In the interactions pane, type:
java cse1xxTester.labTester lab01Tester (or whatever the name of the actual tester is)
Using the shell / command line, on eniac-l:
You do not need to download cse1xxTester, but instead you may use the latest version from the cse1xx account. Enter the following command:
pico ~/.bashrc
Add the following line to the file:
export CLASSPATH=$CLASSPATH:/home2/c/cse1xx/lib/cse1xxTester.jarSave the file (Ctrl+O, Enter) and exit the editor (Ctrl+X)
Log out of eniac-l, then log back in.
Then follow these directions:
1. Download the supplied tester (for example, lab01Tester.java)
2. Type the following to compile the tester:
javac lab01Tester.java
3. Type the following to execute the tester upon successful compilation:
java cse1xxTester.labTester lab01Tester (or whatever the name of the actual tester is)