How to point to a different JAVA installation in Crowd Windows Service
問題
When using your own JDK with Crowd, you may want to upgrade the Java version to a later one and change the one Crowd uses. Following the instructions to change the path to JAVA_HOME may not work when you run Crowd as a Windows Service.
Resolution #1 - via Command Line
- Open the Windows Services via Command Line as in the instructions of this documentation (expand Windows Service section).
- Into the JAVA properties screen, click on the
Java
tab to see the list of current start-up options. - Uncheck the "Use default' option.
- Edit the filled Java Virtual Machine and point to the jvm.dll file of the new JAVA 64-bit installation.
- Click 'OK'.
- Start Crowd.
Resolution #2 - via the Windows Registry
- Open the Windows Registry as in the instructions of this documentation (expand Windows Service section);
Find the Services entry:
32-bit:
HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Crowd
64-bit:HKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> Apache Software Foundation >> Procrun 2.0 >> Crowd
- Click on
Parameters >> Java
. - Change the
Jvm
setting to point to the jvm.dll file of the new JAVA 64-bit installation.
最終更新日: 2019 年 1 月 10 日
Powered by Confluence and Scroll Viewport.