Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. To check: Run java -version on the command line
  2. If not, download the J2SE SDK from:
    1. http://java.sun.com/j2se/1.4.2/download.html
  3. Install it to /opt/java
    1. All of sakai and related programs will be installed in an opt directory which you will need full write access to, put this directory anywhere you want, this document will assume you have placed it in your root directory
  4. 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")
  5. Add $JAVA_HOME/bin to PATH
  6. Set environment variable for desktop: JAVA_OPTS
    No Format
    JAVA_OPTS='-server -Xms384m -Xmx768m -XX:NewSize=192m -XX:MaxNewSize=384m 
       -XX:PermSize=96m -XX:MaxPermSize=160m -java.awt.headless=true'