Specify which JVM to use on a JIRA instance

Anthony Galati November 21, 2011

We run two JIRA instances on the same Linux box. One for DVLP and one for PROD.

Is there a way to specifiy which JDK to use to run JIRA so I can run 1.6_17 on PROD and the lastest in DVLP?

1 answer

1 accepted

0 votes
Answer accepted
Dieter
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 21, 2011
Just set the environment variable JAVA_HOME to point to the top directory of your jdk installation. I suggest to get the .bin variant of the jdk, copy it to /opt and just run the file. The jdk extracts itself to a directory named jdk* this directory name should be used to define JAVA_HOME If you use dedicated users for PROD and DLVP you should set JAVA_HOME in the .profile script if you use bash
Anthony Galati November 21, 2011

Thanks a lot

Suggest an answer

Log in or Sign up to answer