(info) これは、Confluence を Windows サーバーにインストールする場合にのみ関連する情報です。

After you have installed the Java Runtime Environment (JRE) in Windows, you must set the JAVA_HOME environment variable to point to the JRE installation directory.

手順 1. JRE のインストール ディレクトリを見つける

JRE のインストール パスがすでに分かっている場合、下記の手順 2へ進んでください。それ以外の場合、次の手順に従ってインストール パスを見つけてください:

  1. If you didn't change the installation path for the Java Runtime Environment during installation, it will be in a directory under C:\Program Files\Java. Using Explorer, open the directory C:\Program Files\Java.
  2. Inside that path will be one or more subdirectories such as C:\Program Files\Java\jre6

手順 2. JAVA_HOME 変数を設定する

JRE インストール パスを特定したあと:

  1. Right-click the My Computer icon on your desktop and select Properties.
  2. Click the Advanced tab.
  3. Click the Environment Variables button.
  4. Under System Variables, click New.
  5. Enter the variable name as JAVA_HOME.
  6. 変数値に Java Development Kit (JDK) のインストール パスを入力します。
    • If your Java installation directory has a space in its path name, you should use the shortened path name (e.g. C:\Progra~1\Java\jre6) in the environment variable instead.

      64 ビットシステムの Windows ユーザー向け注記

      Progra~1 = 'Program Files'
      Progra~2 = 'Program Files(x86)'

  7. Click OK.
  8. Click Apply Changes.
  9. Close any command window which was open before you made these changes, and open a new command window. There is no way to reload environment variables from an active command prompt. If the changes do not take effect even after reopening the command window, restart Windows.
  10. 通常の Confluence ディストリビューションではなく、Confluence EAR/WAR ディストリビューションを稼働している場合は、アプリケーション サーバーを再起動する必要があるかもしれません。

 

関連トピック

Tomcat を Windows サービスとして起動
Linux で Confluence をインストール

  • ラベルなし