I have bamboo installed on win2012r2. Environment variables are set for java_home and jre_home. Despite that, Bamboo keeps trying to use "C:\Program Files\Java\jdk-16".
JAVA_HOME = C:\Progra~1\Java\jre1.8.0_311
C:\Users\meh>echo %JAVA_HOME%
C:\Progra~1\Java\jre1.8.0_311
JRE_HOME = C:\Progra~1\Java\jre1.8.0_311
C:\Users\meh>echo %Jre_HOME%
C:\Progra~1\Java\jre1.8.0_311
Since it keeps looking in that jdk folder I ended up just copying jre1.8.0_311 into a jre folder and got bamboo started, but I'd like to get it running properly.
Running Atlassian Bamboo version 8.0.4 build 80012 - 27 Oct 21.
Choose the path that Bamboo should use,
you can edit the file conf/wrapper.conf and make changes to the line
wrapper.java.command=java.
An example is wrapper.java.command=C:\Program Files\Java\jdk1.8.0_35\bin\java
How are you setting the JAVA_HOME and JRE_HOME variables? Are you running the `echo` commands as the user that Bamboo runs as? You either need to set the global variables and not set variables for the user Bamboo runs as or only set the variables for the user Bamboo runs as.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for replying. I have them set under system properties --> environment variables --> system variables. That should be global for all users right? I did not run the echo as the bamboo user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's a little tricky to troubleshoot without knowing how you have things set up. When we set up any of the Atlassian tools on Windows, we set them to start as a service and create a service account for them to run as an unprivileged user(to be more secure.) Check this doc on how to set up the service.
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.