Confluence 3.1 のサポートは終了しています。
ドキュメントの最新バージョンを確認してください。
This page contains instructions for installing the Sun Java Development Kit (JDK) for Windows and Linux/UNIX.
Please refer to our Supported Platforms topic for details on the Sun JDK versions which are supported for Confluence.
Mac OS X users can ignore these instructions because this operating system already comes pre-installed with a JDK.
Installing the Sun JDK on Windows
- If you are not sure whether you have Sun's JDK installed correctly, please confirm by doing the following:
- Run a complete directory search (using the 'All File and Folders' option if available) on your drives for the occurrence of '
jdk' in the filename.- If your results retrieve a folder with the name 'jdk' immediately followed by a series of version numbers (for example,
jdk1.5.0_06), then your Sun JDK has been installed. You should double-check the contents of this folder to ensure that the installation files are intact. If you are unsure about this, proceed to step 2 to re-install the Sun JDK. Otherwise, proceed to step 3 to check that yourJAVA_HOMEenvironment variable has been set correctly. - If you do not retrieve a result like this, then it is highly likely that your Sun JDK has not been installed.
- If your results retrieve a folder with the name 'jdk' immediately followed by a series of version numbers (for example,
- Run a complete directory search (using the 'All File and Folders' option if available) on your drives for the occurrence of '
- To install the Sun 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.)
- ダウンロードが完了したら、Java インストーラーを実行します。途中で、インストール先のディレクトリを選択するように指示されます。後で利用するために、このディレクトリをコピーするか、書き留めてください。
- Check that the
JAVA_HOMEenvironment variable has been set correctly.- Open the 'Start' menu, choose 'Run', type
cmdin the 'Run' dialog box and click the 'OK' button. - In the command prompt window, type
echo %JAVA_HOME%and then press Enter. - 結果を確認します:
- If a directory path is display 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 Sun JDK in step 2, then your Sun JDK has been successfully installed and your
JAVA_HOMEenvironment variable has been set correctly.
Examples of typicalJAVA_HOMEenvironment variable values:C:\Program Files\Java\jdk1.5.0_06C:\Progra~1\Java\jdk1.5.0_06C:\Java\jdk1.5.0_06C:\jdk1.5.0_06
- 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_HOMEenvironment variable. Please follow these instructions to set yourJAVA_HOMEenvironment variable to the directory you where you have just installed the JDK. By default, this directory is underC:\Program Files\Java.
- If a directory path is display 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 Sun JDK in step 2, then your Sun JDK has been successfully installed and your
- Open the 'Start' menu, choose 'Run', type
概要
コンテンツ ツール
アプリ
