How to switch from the bundled JRE to System Java when using Confluence as Windows Service
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.
手順
- Install JAVA in your machine (see Installing Java for Confluence)
Confluence を停止します。
- Identify the name of the service that Confluence is installed as in Windows (Go to Control Panel > Administrative Tools > Services):
In the above example, the service name is Confluence121213135538.
- コマンド ウィンドウを開きます ([スタート] > [cmd.exe] を選択)。
cd
to thebin
directory of your Confluence instance (or thebin
directory of your Tomcat installation if you are running Confluence EAR/WAR).Run the following command for Confluence 5.8:
tomcat8w
//ES//<SERVICENAME>
上記の例では
tomcat8w //ES//Confluence121213135538
となります。
以前のバージョンの Confluence を使用している場合、Tomcat のバージョン番号が異なる場合があります。- [
Java
] タブをクリックして、現在の起動オプションの一覧を表示します。 - Uncheck the 'Use default'
- 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
orC:\Program Files (x86)\Java\jre1.8.0_66\bin\client\jvm.dll
) - Click 'OK'
- Confluence を起動します。
関連記事
ラベル別コンテンツ
指定したラベルを持つコンテンツはありません。
最終更新日 2018 年 11 月 2 日
Powered by Confluence and Scroll Viewport.