Confluence を Windows サービスとして使用する場合に、バンドルされている JRE からシステム Java に切り替える方法

お困りですか?

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

コミュニティに質問

プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。

このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。

*Fisheye および Crucible は除く

When deploying Confluence using .exe installer, it will come with a bundled JRE (JAVA). Sometimes, in order to upgrade the JAVA version, Confluence needs to switch from bundled JRE to user installed JAVA.

手順

  1. Install JAVA in your machine (see Installing Java for Confluence)
  2. Confluence を停止します。

  3. Identify the name of the service that Confluence is installed as in Windows (Go to Control Panel > Administrative Tools > Services):

    (info) In the above example, the service name is Confluence121213135538
  4. コマンド ウィンドウを開きます ([スタート] > [cmd.exe] を選択)。 
  5. cd to the bin directory of your Confluence instance (or the bin directory of your Tomcat installation if you are running Confluence EAR/WAR).
  6. Run the following command for Confluence 5.8:


    tomcat8w //ES//<SERVICENAME>


    (info) 上記の例では tomcat8w //ES//Confluence121213135538 となります。
    以前のバージョンの Confluence を使用している場合、Tomcat のバージョン番号が異なる場合があります。 

  7. [Java] タブをクリックして、現在の起動オプションの一覧を表示します。
  8. Uncheck the 'Use default'
  9. Modify the 'Java Virtual Machine' to point at the jvm.dll of the installed JAVA in Step 1
    (e.g. Java Virtual Machine: C:\Program Files (x86)\Java\jdk1.8.0_66\jre\bin\server\jvm.dll or C:\Program Files (x86)\Java\jre1.8.0_66\bin\client\jvm.dll)
  10. Click 'OK'
  11. Confluence を起動します。

指定したラベルを持つコンテンツはありません。


最終更新日: 2024 年 12 月 20 日

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

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