Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
  1. To check: Run java -version on the command line
  2. If not correct, download the J2SE SDK from:
  3. Install it (the SDK) to /opt/java
    • Note: Install the JRE to a different directory (probably the default, especially under windows) or you will have problems
  4. Set environment variable: JAVA_HOME=/opt/java
    • Mac users: JAVA_HOME=/Library/Java/Home
    • Windows users default: JAVA_HOME=C:\j2sdk1.5.0_xx j2sdkXXX (where "xxXXX" is the minor version - for example "j2sdk1.5.0_0611")
  5. Add $JAVA_HOME/bin to PATH
  6. Set JAVA_OPTS for tomcat in the tomcat/bin/setenv file (see Install Tomcat 5.5)
    No Format
    JAVA_OPTS='-server -Xms384m -Xmx768m -XX:NewSize=192mXmx964m -XX:MaxNewSize=384m 
       -XX:PermSize=96m -XX:MaxPermSize=160m172m -Djava.awt.headless=true'