Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

  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
    JAVA_OPTS='-server -Xms384m -Xmx768m -XX:NewSize=192m -XX:MaxNewSize=384m 
       -XX:PermSize=96m -XX:MaxPermSize=160m -java.awt.headless=true'
    
  • No labels