I downloaded and installed Jira Server on windows 10, 2 weeks back. The software get installed but the Jira windows service does not get installed. I have tried using service.bat but fails even after %JAVA_HOME% environment variable is set. Also tried setting the JRE_HOME as per some eariier comments posted by this community but still the service does not install(PS: Bamboo, BitBucket and Confluence ha all got installed successfully with theiere widows service up and running)
Can Someone please help
Thanks
Sydney
Hi
I understand that you are running Jira on a Windows 10 machine, and are looking to setup a service to run this, rather than having to launch the start-jira.bat file to start the application.
There are a few known problems with the service installer on Windows machines with UAC active. These are noted in the documentation Running Jira applications as a Windows service:
Please note:
- On any Windows operating system with User Account Control (UAC), such as Windows Vista or Windows 7, you must either disable UAC or run 'cmd.exe' as an administrator (e.g. by right-clicking on 'cmd.exe' and selecting "Run as administrator") in order to execute the script in the procedure below. If UAC is enabled, simply logging in to Windows with an Administrator account will not be sufficient.
Personally, I prefer to use the run command box, enter cmd.exe and then choose the run as administrator option. Once you have a command prompt open in this way, you can then call that .bat file via command line. I'd be interested to see if this helps with the installation process.
If it does not, you mentioned setting up the JAVA_HOME, I'd be interested to see if the service.bat file, when called this way provides you with any specific errors. If these are related to the JAVA_HOME, perhaps you can run the command
echo %JAVA_HOME%
to see what value is returned here. I have seen other Windows systems, that even when set that variable to the system variable, still require a system reboot to take affect.
Please let me know the results.
Andy
Thanks a Ton Andy!!
That helped. Changed the JAVA_HOME as per your suggestion, but it required a re-boot to take effect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.