Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

The JRE_HOME environment variable is not defined correctly", While Launching the Bamboo Server

gobidurairaj
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 17, 2018

I Installed the JDK and JRE  and observed that.

C:\Windows\System32>echo %JAVA_HOME%
C:\Java\jdk-11.0.1\bin

C:\Windows\System32>echo %JRE_HOME%
C:\Java\jre-8u191\bin

When am trying to launch the Bamboo observed that.. 

 


The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program

 

Please suggest how to get rid of this issue 

 

Bamoo server version installed :  atlassian-bamboo-6.6.3-windows-x64

 

OS Detals: Windows 8.1 Enterprise 64 bit operating system

3 answers

2 votes
Foong
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 5, 2018

Remove JAVA_HOME cause Bamboo does not support JDK 11. Supported platforms

Set JRE_HOME to be "C:\Java\jre-8u191" without the "bin".

 

0 votes
sai pokala August 23, 2022

System variables:

JAVA_HOME: C:\Program Files\Java\jdk-18.0.2.1\bin
JRE_HOME: C:\Program Files\Java\jre1.8.0_341\bin

 

C:\Program Files\Bamboo>java -version
java version "18.0.2.1" 2022-08-18
Java(TM) SE Runtime Environment (build 18.0.2.1+1-1)
Java HotSpot(TM) 64-Bit Server VM (build 18.0.2.1+1-1, mixed mode, sharing)

 

C:\Program Files\Bamboo>echo %JAVA_HOME%
C:\ProgramFiles\Java\jdk-18.0.2.1\bin

C:\Program Files\Bamboo>echo %JRE_HOME%
C:\ProgramFiles\Java\jre1.8.0_341\bin

 

 

getting below error

C:\Program Files\Bamboo>bin\start-bamboo.bat

To run Bamboo in the foreground, start the server with start-bamboo.bat /fg

Bamboo Data Center
Version : 8.2.5


If you encounter issues starting or stopping Bamboo Server, please see the Troubleshooting guide at https://confluence.atlassian.com/display/BAMBOO/Installing+Bamboo+on+Windows

The JRE_HOME environment variable is not defined correctly
This environment variable is needed to run this program

 

Thanks in advance

0 votes
Fabio Cardoso
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 19, 2019

Facing the same issue:

JAVA_HOME: C:\Program Files\Java\jre1.8.0_151
JRE_HOME: C:\Program Files\Java\jre1.8.0_151

Clemens Schwarz November 30, 2020

no spaces in there

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events