Course Files

To complete the projects you can choose to use either C or Java. Using C will be a little more difficult, as Java does many things behind the scenes that C does not, however the environment setup for Java is a little more complex. Furthermore, the files below have been written in Unix environments (namely the BU-CS Solaris cluster). If you choose to use another platform then the onus is on you to setup you environment, as well as be sure the code compiles and runs in Solaris for Sparc (the school computers).

C

The C libraries have been installed on the CS cluster. It is recommended that you download the text's example files. The makefile included with the example files contains all the path and parameter information you will need to compile your programs. The #include libraries are listed both in the text and in the example files. Choose from the following downloads:

 

Java

In order to use & compile these libraries, you will need to use Java 1.1.7+. This version is installed only on csb. The java compiler is at /usr/java1.1/javac while the jvm is at /usr/java1.1/java (again, only on csb). All files related to the pureTLS package are available at the following link:

Unpack this file in its own directory as there are many many files that you won't wish to confuse with other things. In order to use this package there are a few things you have to change or be aware of:

  1. In the current directory will appear a file called setClassPath. This file needs to be edited so that every occurrance of "Teach/java/" is replaced with the name of the temporary directory in which you've unpacked the tar file.
  2. EVERYTIME you login or open a new terminal you will need to run the setClassPath file by typing "source setClassPath"
  3. All of the pureTLS source files are located in ./puretls-0.9b1/src/
  4. Make sure to read the INSTALL file in ./puretls-0.9b1/ for compilation instructions.

Please email me if you have any trouble.