This tutorial was realized and tested under Snow Leopard.
Java Development Kit
You will also need a Java Development Kit (JDK). Note that a Java Runtime Environment (JRE) is not sufficient as it does not allow you to compile Java programs. You can download the latest JDK from http://java.sun.com/. Follow the instructions for installing it. The 32 bit version of Java is required.