View this PageEdit this PageAttachments to this PageHistory of this PageHomeRecent ChangesSearch the SwikiHelp Guide

Data Structures Book Materials

Here are the materials for the Media Computation Data Structures book: Problem Solving with Data Structures: A Multimedia Approach by Mark Guzdial and Barbara Ericson.


Slides

The slides that we are currently using can be found at Class Schedule-Fall 2008 page.

IDE, JMusic, Java Sources



Instructions for setting up Dr. Java on a Windows machine:

  1. Dr. Java is the suggested IDE for the course, but the TAs will also try to familiarize everyone with Eclipse. See FILE function cannot find the upload. for how to set up Eclipse for this class.
  2. Copy jMusic.zip, MediaSources.zip and java-sources.zip to a fold on your hard drive. I recommend putting everything in C:\cs1316.
  3. [Screenshot] Unzip all zip files (java-source, jMusic, mediasources) and put them into the cs1316 folder.
  4. [Screenshot] Download the Java JDK if you do not already have it by going to http://java.sun.com/javase/downloads/index.jsp and clicking on the download button in JDK 6 Update 7 section.
  5. [Screenshot] Select "Windows" for the platform (unless you have a 64 bit then select that one) and leave the language as "multi-language." Accept the license agreement.
  6. [Screenshot] Select "Windows Offline Installation" then hit the "Download Selected with Sun Download Manager" button
  7. [Screenshot] A window will pop up, select open with Java Web Starter and click "Ok."
  8. [Screenshot] After a bit of downloading the Java Download Manager will pop up, click "Start" to begin downloading. Make sure you know where the file will download. To find the location go to File -> Options and look at the "Select the Directory of Downloaded Files" box.
  9. Run the file that you just downloaded to install Java.
  10. Install both the Java JDK and JRE when prompted.
At this point, you're ready to open Dr. Java and set it up.
  1. To open Dr. Java, double click the drjava-stable-20080106-0744.exe file (use the .jar file for linux systems)
  2. Dr. Java will either find the tools.jar for you or ask you to locate the tools.jar for it. If you selected default locations in Windows to install Java, the tools.jar should located at C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar.
  3. Click the Edit button on the toolbar on the top-left then select preferences.
  4. Make sure the box labeled Tools.jar Location has C:\Program Files\Java\jdk1.6.0_07\lib\tools.jar or similar in it
  5. Click the Add button to add an extra classpath. Select C:\cs1316\java-source
  6. Click the Add button again and this time add C:\cs1316\jMusic\jmusic.jar
  7. Click the Add button again and this time add C:\cs1316\jMusic\inst
  8. [Screenshot] Click the Okay button.
  9. [Screenshot] Now your Dr. Java should be set up. Follow the steps in Homework 0 to be sure.