How to point to a different JAVA installation in Crowd Windows Service

Still need help?

The Atlassian Community is here for you.

Ask the community

Problem

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

  1. Open the Windows Services via Command Line as in the instructions of this documentation (expand Windows Service section).
  2. Into the JAVA properties screen, click on the Java tab to see the list of current start-up options.
  3. Uncheck the "Use default' option.
  4. Edit the filled Java Virtual Machine and point to the jvm.dll file of the new JAVA 64-bit installation.
  5. Click 'OK'.
  6. Start Crowd.

Resolution #2 - via the Windows Registry

  1. Open the Windows Registry as in the instructions of this documentation (expand Windows Service section);
  2. Find the Services entry:

    32-bitHKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> Crowd 
    64-bitHKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> Apache Software Foundation >> Procrun 2.0 >> Crowd 

  3. Click on Parameters >> Java.
  4. Change the Jvm setting to point to the jvm.dll file of the new JAVA 64-bit installation.
Last modified on Jan 10, 2019

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.