このページでは、Java Development Kit (JDK) のインストールを説明しています。これは、ZIP 形式ファイル、または、アーカイブ ファイルからの Confluence インストール時にのみ必要となる手動による手順です。
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.
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 'JDK' immediately preceding a series of version numbers, and this path matches the location where you installed the JDK in step 2, then your JDK has been successfully installed and your JAVA_HOME environment variable has been set correctly. Examples of typicalJAVA_HOMEenvironment variable values:
C:\Program Files\Java\JDK7
C:\Progra~1\Java\JDK7
C:\Java\JDK7
C:\JDK7
If nothing is displayed or you do not see 'JDK' 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 JDK. By default, this directory is under C:\Program Files\Java.
Type echo $JAVA_HOME in the shell console and then press Enter
結果を確認します:
If a line is displayed such as /opt/JDK7 or /usr/lib/jvm/java-7, then your JDK is installed and properly configured.
If nothing is displayed, then you either need to install the JDK 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, by defining this path in your Confluence installation's setenv.sh file, usually located in the Confluence bin directory.