- To check: Run java -version on the command line
- If not correct, download the J2SE SDK (make sure you get the JDK and not JRE) from:
- http://javawww.sunoracle.com/j2se/1.5.0/download.jsptechnetwork/java/javase/downloads/index.html
- Mac OS X users (10.6+) will have Java 1.6 by default
- 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
- Set environment variable: JAVA_HOME=/opt/java
- Mac users: JAVA_HOME=/Library/Java/Home
- Windows users default: JAVA_HOME=C:\j2sdkXXX (where "XXX" is the version - for example "j2sdk1.57.0_11")
- Add $JAVA_HOME/bin to PATH
- Set JAVA_OPTS for tomcat in the tomcat/bin/setenv file (see Install Tomcat 5.57)
No Format export JAVA_OPTS="-server -Xmx1028m -XX:MaxPermSize=320m -Djava.awt.headless=true -Dcom.sun.management.jmxremote -Dsun.lang.ClassLoader.allowArraySyntax=true"
- These settings are for developers
- More info on JVM server settings: Sakai Admin Guide - JVM Tuning
Page Comparison
Manage space
Manage content
Integrations
App links