This page contains instructions for installing a Java Runtime Environment (JRE). This is a manual step that is only required for Confluence installations where you are installing from a zip or archive file.

(info) If you are using the automated installer, the required Java files are bundled and will be automatically put in place, hence you will not need to follow the instructions on this page.

Confluence がサポートする Java バージョンの詳細については、サポートするプラットフォームを参照してください。

Installing the JRE

A JRE (Java Runtime Environment) needs to be installed on the same server machine that will have Confluence installed.

Installing the JRE on Windows

  1. If you are not sure whether you have a JRE installed, please confirm by doing the following:
    • Windows 7 で、コントロール パネル > プログラムと機能 を確認してください (旧バージョンの Windows では、単に プログラム) 。
    • 一覧に Java が表示されるはずです。表示されない場合、Java はインストールされていません。
  2. To install the JRE, follow these instructions:
    • Go to the Java download page.
    • Download the version entitled 'Java SE Update XX (JRE)', where 'XX' stands for some number. (The latest version will be available on that page.)
    • ダウンロードが完了したら、Java インストーラーを実行します。途中で、インストール先のディレクトリを選択するように指示されます。後で利用するために、このディレクトリをコピーするか、書き留めてください。
  3. Check that the JAVA_HOME  environment variable has been set correctly.
    • Open the Start menu, choose Run, type cmd in the Run dialog box and click OK.
    • In the command prompt window, type echo %JAVA_HOME% and then press Enter.
    • 結果を確認します:
      • If a directory path is displayed that looks similar to one of the following examples, with the letters 'jre' immediately preceding a series of version numbers, and this path matches the location where you installed the JRE in step 2, then your JRE has been successfully installed and your JAVA_HOME environment variable has been set correctly.
        Examples of typical JAVA_HOME environment variable values:
        • C:\Program Files\Java\jre6
        • C:\Progra~1\Java\jre6
        • C:\Java\jre6
        • C:\jre6
      • If nothing is displayed or you do not see 'jre' immediately followed by a series of version numbers (like one of the examples above), then you need to set the JAVA_HOME environment variable. Please follow these instructions to set your JAVA_HOME environment variable to the directory you where you have just installed the Jre. By default, this directory is under C:\Program Files\Java.

Installing the JRE on Linux

  1. If you are not sure whether you have JRE installed correctly, please confirm by doing the following:
    1. シェル コンソールを開く。
    2. Type echo $JAVA_HOME in the shell console and then press Enter
    3. 結果を確認します:
      • If a line is displayed such as /opt/jre6 or /usr/lib/jvm/java-6, then your JRE is installed and properly configured.
      • If nothing is displayed, then you either need to install the JRE or set the $JAVA_HOME environment variable. You can set this environment variable in your user account's 'profile' file. Alternatively, you can set this after installing Confluence (in step 4 below) by defining this path in your Confluence installation's setenv.sh file, usually located in the Confluence bin directory.
      • If you have installed an unsupported JRE and you want to use SSL then you need to install the Sun JSSE package.
  2. If you need to install the JRE, follow these instructions:
    • Go to the Java download page.
    • Download the version entitled 'Java SE Update XX (JRE)', where 'XX' stands for some number. (The latest version is available on that page.)
    • When the download has finished, run the Java installer. Detailed installation instructions are provided on Oracle's website.
  • ラベルなし