How to Use Your Goodies
These goodies are provided to you by the course staff for your own use. Sometimes, in order to understand a subject or to complete an exercise, you will be asked to use Java code that had been written by us. This code is wrapped in a JAR file and can be downloaded from this page. In order to use these JARs, follow these instructions:
Good luck!
- Create a folder on hard-disk that will contain all our JARs. Let's say you called it C:\IDC\Intro2CS\Goodies\
- Download the JAR file to that folder by clicking the link called "Download File" on this page. Make sure the JAR is downloaded to that folder.
- Add the JAR file to the CLASSPATH variable. This should include both the path and the JAR filename. For example, if you're downloading logo_turtle.jar and your CLASSPATH was "." then now it should be ".;C:\IDC\Intro2CS\Goodies\logo_turtle.jar".
- Sometimes the exercise will tell you to import classes. Follow those directions.
- You're ready to go. Click the API link to see all the classes and methods the JAR provides.
Good luck!
Goodie |
|
|
| ||||||||||