OCaml, Eclipse and OcaIDE Setup
You may skip "Install OCaml" and "Install Eclipse" if working on SEAS lab machines.
- Mac Users Only Install X11 libraries (needed for the
OCaml graphics libraries to work):
- Install Apple's XQuartz version, which is available here: http://xquartz.macosforge.org/landing/
- Before moving on to the next step, make sure you LOG OUT of your user
account so that the X11 install can complete.
- Check to see that the directory /usr/X11/lib exists and that
it contains the file libX11.6.dylib (this should have been created
when you installed XQuartz). If this isn't the case, try reinstalling XQuartz
and then contact the course staff for help.
- Next, install the Java Development Kit (JDK) 7. You can download it from this this
site (after accepting the terms & conditions). Make sure you do
this step before installing Eclipse or OCaIDE.
Install OCaml version 4.01. We recommend:
- To run Eclipse, a Java Runtime Environment (JRE)
must be installed. This will already be the case on
most modern machines, but you can use this link to
check if Java is installed on your machine.
Visit the Eclipse download page.
Click on the link for your platform on the right side of the screen
and install it by simply unpacking the downloaded file onto your desktop.
Note: The 64-bit Windows version of Eclipse
may not be able to locate Java installations. If this happens, use
the 32-bit Windows version instead.
Launch Eclipse. The first time you run Eclipse, you need to choose a workspace (a folder that stores your projects).
Use the default location that Eclipse suggests, or choose your own location.