Windows での JAVA_HOME 変数の設定

Confluence 用に Java をインストール

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

After you've installed Java in Windows, you must set the  JAVA_HOME  environment variable to point to the Java installation directory.

This information is only relevant if you're installing Confluence manually on a Windows server. If you're using the installer we'll do this part for you.

If you installed the Java Development Kit (JDK) you'll be setting the JAVA_HOME environment variable. If you installed the Java Runtime Environment (JRE) you will follow the same steps but set the JRE_HOME environment variable instead. 

JAVA_HOME 変数を設定する

JAVA_HOME 変数を設定するには:

  1. Find out where Java is installed. If you didn't change the path during installation, it will be something like this:
    C:\Program Files\Java\jdk1.8.0_65
  2. In Windows 7 right click My Computer and select Properties > Advanced.
    In Windows 8 go to Control Panel > System > Advanced System Settings.
  3. Click the Environment Variables button.
  4. Under System Variables, click New.
  5. In the Variable Name field, enter:
    • JAVA_HOME (JDK (Java 開発キット) をインストールしている場合)
      または
    • JRE_HOME: JRE (Java Runtime Environment) がインストールされている場合 
  6. In the Variable Value field, enter your JDK or JRE installation path.

    If the path contains spaces, use the shortened path name, for example C:\Progra~1\Java\jdk1.8.0_65)

     

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

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

  7. Click OK and Apply Changes as prompted.

You'll need to close any re-open any command windows that were open before you made these changes as there's no way to reload environment variables from an active command prompt. If the changes don't take effect even after reopening the command window, restart Windows.

最終更新日 2016 年 9 月 26 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.