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.
To run JIRA in the foreground, start the server with start-jira.bat /fg
Version : 8.4.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at https://docs.atlassian.com/ji
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:\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)
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>
"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 should start just fine now.
Otherwise please do provide the Catalina log
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.
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.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events