This page last changed on Jun 05, 2008 by rhartono.

This page is part of the Confluence Installation Guide.
Mac users can ignore these instructions, because OS X comes with a Java Development Kit.

About Java

Confluence needs JDK 1.4 or newer to be installed on your computer.

  • A JRE (Java Runtime Environment) is not enough.
  • JDK 6 is the preferred platform, because it is faster and more reliable.
  • JDK 1.4 or 1.5 are fine for now.
  • Advance notice: Java 1.4 will be deprecated in a future release. Confluence 2.8 will be the last version that supports Java 1.4.
  1. If you are not sure whether you have JDK installed correctly, please confirm by doing the following:
    • Open a command prompt.
      • On Windows: Open your 'Start' menu and select 'Run', then type cmd and click 'OK'.
    • Type the following in the command prompt and then press Enter:
      • On Windows: echo %JAVA_HOME%
      • On Unix: echo $JAVA_HOME
    • View the result:
      • If a line is displayed such as C:\Progra~1\Java\jdk1.5.0_06, please check that the letters just before the final numbers are 'jdk'. If you see those letters, the JDK is installed.
      • If nothing is displayed, or you do not see 'jdk' plus some numbers, the JDK is not installed.
  2. If you have installed a non-Sun JDK, you need to install the Sun JSSE package now.
  3. If you need to install the JDK, follow these instructions:
    • Go to the Java Sun download page.
    • Download the version entitled 'JDK 6 Update XX', where 'XX' stands for some number. (Sun will provide the latest version on that page.)
    • When the download has finished, run the Java installer. At one point, you will be asked to choose a directory to install to. Copy or write this directory down for use later.
  4. On Windows: Please follow these instructions to set your JAVA_HOME environment variable to the directory you where you have just installed the JDK. By default, this directory is under C:\Program Files\Java.
Document generated by Confluence on Jun 24, 2008 18:02