CS 101 (Spring 1999)
Setting Up Your Computer

It is not necessary to have your own computer for CS101. However, if you have one, you can follow these steps to get it set up for doing the CS101 assignments.

If you follow these instructions but have trouble getting set up, teaching assistants will be happy to come to your dorm room to help you get your computer set up to use Symantec Cafe in CS101. See the Cafe-on-call for details on how to request this service.

  1. Purchase and install Symantec Cafe.

    Symantec Cafe is the Java programming environment we will be using in the course. It runs on Windows95, Windows NT, and MacOS version 7.5 or later. We will be using Symantec Cafe, and NOT Symantec Visual Cafe.

    Through a special arrangement with Symantec, you will be able to purchase a license for Symantec Cafe at the CEC Help Center for $30. When you pay your $30, you will be given a receipt on which will be printed a URL. To download and install the program, go to that URL, fill out the form, and follow the instructions provided. If you want a CD of Symantec Cafe, then CEC can sell this to you for $40. Of course, if you know someone who took CS101 and isn't using their copy of Symantec Cafe anymore, you may want to buy it from them.)

    You are welcome to use a different Java programming environment on your home computer, but the teaching assistants may not be able to help you with questions related to that envronment. In other words, you're on your own! Also, you must be able to demonstrate your labs on the CEC computers during your lab section, so you'll need to make them run in Symantec Cafe as well.

  2. Download and install the CS101 Package.

    If you are a PC owner, follow these steps (after installing Symantec Cafe on your PC):
    1. Download the CS101 Package using WinZip or similar tool. (If you don't have WinZip, you can get an evaluation copy from the WinZip web site. Alternatively, you can download the CS101 Package to a floppy disk at the CEC lab, and then take it home to install on your computer.)
    2. Extract (copy) the cs101 folder (with all of its contents) into the folder Cafe\Java on your hard drive. Be sure that the "use folder names" box is checked in WinZip when you do the extraction.
    3. Open the file Cafe\Bin\SC.INI using your favorite text editor.
    4. Add the characters
      ;%@P%\..\JAVA
      to the end of the line beginning with JAVAINC
    5. Also, add the same characters
      ;%@P%\..\JAVA
      to the end of the line beginning with CLASSPATH
    6. Save and close the file SC.INI
    7. If you already had Cafe open, you'll need to exit Cafe and restart it for the changes to take effect. (It is not necessary to restart your computer, only to restart Cafe.)
    8. Note: There were a few defective CD-ROMs in circulation. If you get the error: "Fatal Error: Invalid END header format" then you were lucky enough to get one of the defective disks. See the CEC help center for a replacement disk.
    If you own a Macintosh, follow these steps (after installing Symantec Cafe on your Mac):
    1. Download the CS101 Package using Stuffit Expander.
    2. Move the resulting cs101 folder from the desktop to the following location:
      Symantec Cafe for the Macintosh
      |
      (Java Libraries)
      |
      classes
    3. The contents of the classes folder should now be:
      cs101
      java
      Java API.browse
      sun
      symantec

    4. The CS101 package is now installed.
    Tips to keep in mind when using both CEC PCs and your Mac:
    1. Make sure that you save your files on your Macintosh as DOS format files.

    2. Although you saved your files as DOS format, differences between platforms do exist and you will notice formating differences such as black boxes beginning each line the first time you load your file composed on a Mac on the CEC PCs. They will not effect the compilation and execution of your lab. If you compose the text on the PC, you will notice that each line is double spaced on your Macintosh. Again, it will not effect the compilation of your lab, however it is a nuisance for both you and the graders. Please delete the double spacing.



    Last modified 12:22:00 CST 08 January 1999 by Ron K. Cytron