Child pages
  • Install Java 1.4.2
Skip to end of metadata
Go to start of metadata
  1. To check: Run java -version on the command line
  2. If not, download the J2SE SDK from:
  3. Install it to /opt/java
  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