It's the same problem, I've started a new course with the OU and Windows is required. Well here's some instructions for making M256 OS X ready.
What you'll need:
- Netbeans 4.1 for OS X
- Violet UML editor. You can get this from the OU M256 site or from Cay Horstmann's site.
- The M256 installation CD
Instructions:
- Copy the M256Code directory from the M256 installation CD to your working directory. You can copy it to any location, but for the sake of tidiness, and to know where project files are, it's best to copy it to your working directory. Mine for example is /Users/geoff/OU/M256/
- Install Netbeans 4.1 if not already installed.
- Open Netbeans, click on 'Tools' then 'Library Manager'
- Click on 'New Library' in your Library Manager and add 'm256date' (without the quotes) as a new class library. Click 'Ok'
- Repeat the above step, but create a new class library called 'm256gui' (again without quotes). Click 'Ok' once done. Your Library Manager should now look similar to this:

- Highlight the m256date library in the Libraries pane. Ensure Classpath is select above the Library Classpath pane. Click on 'Add JAR/Folder'. From the file chooser, select m256date.jar. This will be from directory that you copied from the M256 installation CD, mine is /Users/geoff/OU/M256/M256Code/m256libraries/m256date.jar.
- Next you'll need to add the m256date source files. Select the 'Sources' option. Click on 'Add JAR/ Folder'. From the file chooser, select the m256date source files, so ../M256/M256Code/m256libraries/src/m256date.zip
- Click on Javadoc and again using the file chooser, select the zip files containing the Java docs. These would be in the following director /M256/M256Code/m256libraries/doc/m256date.zip
- Repeat all the above, but for the m256gui class library. Add the respective Jar and zip files to the classpath, sources and Javadocs as above.
If done correctly, you'll now be able to open the OU Projects in Netbeans, compile and run them without any issues. I don't believe you'll need to do any additional configuring for the UML editor (Violet), but it's a requirement for the course, so make sure you've got it to hand.
