CS 134

Williams College

Using the Squint Library

Most of the example programs presented in ths course depends on code included in a library named Squint. The features of this library are summarized in the collection of Squint Javadoc pages.

The library is installed on all the machines in the computer science department's Macintosh laboratories (TCL 217 and 216). If you wish to run example programs on your own machine, you can download the latest version of the library file, squintV2.12.jar (last updated on 7/17/08). In addition to squintV2.12.jar, you will need to install a programming development system on your computer. BlueJ, the system we use in class and lab is freely available for both Macs and PCs. You can download a copy from the BlueJ web site. You will also find instructions for installing BlueJ on your machine at that site. Once BlueJ is installed and running on your machine, you have to tell it where to find the copy of squintV2.12.jar that you downloaded. The steps required to do this are described in Section 9.10 of the BlueJ Environment Reference Manual and summarized below.

Finally, if you want to copy work you have completed in our lab to your own machine (or vice versa) you can transfer files using any client that supports the Secure File Transfer Protocol (SFTP). A popular SFTP client for MacOS X is Fugu. Window users will probably want to use SSH. The good people at Claremont McKenna College provide very nice instructions (including pretty screen shots) on obtaining and using SSH for Windows or Fugu for the Mac. Where they tell their students to enter to students.mckenna.edu, you should instead use cortland.cs.williams.edu. Similarly, where their instructions say to enter a "mckenna" account, just use the user id (and password) you would enter to log in at the beginning of lab. You can, however, use port 22 just as their instructions say you should.