Hello,
I'm running Jira Service Desk 3.16.0 on Windows Server 2016.
When I launch C:\Program Files\Atlassian\JIRA\bin\config.bat with Admin privileges, Command Prompt returns:
No JRE_HOME or JAVA_HOME environment variable is set - attempting to just run 'java' command
*******************************************************************************
******* Wrong JVM version! JIRA requires at least 1.8 to run. *******
*******************************************************************************
I have already seen
Editing config.bat and adjusting value of set_EXECJAVA="%JRE_HOME%\bin\java" to set_EXECJAVA="C:\Program Files\Atlassian\JIRA\jre\bin\java" OR "...java.exe" result in the same error message.
I've also already saw
https://jira.atlassian.com/browse/JRASERVER-59656
Where I edited check-java.bat to match the listed workaround.
Same error message.
Any help is appreciated!
Thanks,
Andrew
Instead of trying to hack at the config.bat file or other files in the /bin folder, my preferred way to approach this specific problem is instead to install Java separately, and then define my own %JAVA_HOME% system variable in Windows with that installation path.
There are steps on how to do this in Installing Java. There is a note there that you have to close all command prompts (cmd.exe) before this setting change takes effect. In some cases, I have had to restart Windows after this system variable has been set for it to take effect.
While the Jira .exe and .bin installation files can bundle a Java JRE with them, it doesn't necessarily have all the java components that you would get by doing a JRE or JDK installation yourself. So technically Jira can run with the bundled JRE, but there are other utilities built around Jira like this config tool that seem to work better with a separate Java installation and a %JAVA_HOME% defined before trying to load this java applet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.