Hello there,
JIRA 8.4.1 won't start due to JRE_HOME not being set correctly? Please help. I don't see any issues with the installation of JAVA or JRE.
C:\Program Files\Atlassian\JIRA8\bin>start-jira
To run JIRA in the foreground, start the server with start-jira.bat /fg
`sMMMMMMMMMMMMMM+
MMMMMMMMMMMMMM
:sdMMMMMMMMMMM
MMMMMM
`sMMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sMMMMMMMMMMM MMMMM
MMMMMM `UOJ
`sMMMMMMMMMMMMM+ MMMMMM
MMMMMMMMMMMMMM +MMMMM
:sdMMMMMMMMMM MMMMM
MMMMMM `UOJ
MMMMMM
+MMMMM
MMMMM
`UOJ
Atlassian Jira
Version : 8.4.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/ji
ra/jadm-docs-084/Troubleshooting+installation
The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program
C:\Program Files\Atlassian\JIRA8\bin>echo %JRE_HOME%
C:\java\jre1.8.0_291\bin
C:\Program Files\Atlassian\JIRA8\bin>java -version
java version "1.8.0_291"
Java(TM) SE Runtime Environment (build 1.8.0_291-b10)
Java HotSpot(TM) Client VM (build 25.291-b10, mixed mode, sharing)
We don't start Jira that way (we run it as a service), but nonetheless, when I check our environment variables, we don't have a JRE_HOME, but we do have a JAVA_HOME. Even though the error message cites JRE_HOME, perhaps the cause is a lacking JAVA_HOME? Maybe make sure you have that variable defined. It points to our jre directory, i.e.
JAVA_HOME=C:\Program Files\Atlassian\JIRA\jre
Hi @Payne
If you are running your application on a windows environment, you do not need to have either JRE or JAVE_HOME defined in your system variables.
In fact, removing them as system variables might actually help you out.
My above guide is based on the presumption that you are running the application (haven't yet met an Atlassian product where it doesn't work) as a service.
Doing the above will allow you to easily see and set all the info that is in your "Setenv.bat" file.
e.g. memory usage at startup (min) and Max memory usage.
You will also be able to see and force the usage of a specific JRE/JAVA application.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What OS is the application running on?
Jira will come with its own JRE, which can be used to run tomcat.
For windows, you can safely remove any manually installed JAVA/JRE from the system.
Once done, and server has been restarted, you can force JIRA to use its own JRE
Find your Jira Service name (Services -> Right click on "Atlassian Jira" -> C&P the Service name)
start cmd as admin
navigate to your "Jira-installation directory"\bin
run your TomcatwX.exe //ES//<Service Name>
e.g.
"Jira-installation directory"\bin>tomcat8w.exe //ES//JIRASoftware291020082345
navigate to your the Java tab
Ensure that the "Default" marker is NOT set, and the "Java Virtual Machine" points to;
"Jira-installation directory"\bin\server\jvm.dll
Jira should start just fine now.
Otherwise please do provide the Catalina log
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.