Install Java 1.4.2
- To check: Run java -version on the command line
- If not, download the J2SE SDK from:
- http://java.sun.com/j2se/1.4.2/download.html
- Mac OS X users will have Java 1.5 by default
- Install it to /opt/java
- Set environment variable: JAVA_HOME=/opt/java
- Mac users: JAVA_HOME=/Library/Java/Home
- Windows users: JAVA_HOME=C:\j2sdk1.4.2_xx (where "xx" is the minor version - for example "j2sdk1.4.2_11")
- Add $JAVA_HOME/bin to PATH
- Set environment variable for desktop: JAVA_OPTS
JAVA_OPTS='-server -Xms384m -Xmx768m -XX:NewSize=192m -XX:MaxNewSize=384m -XX:PermSize=96m -XX:MaxPermSize=160m -java.awt.headless=true'
- More info on JVM tuning: Sakai 2.2 developer JVM tuning