Work with Java 8 and Java 11 in the same machine

gbdavid2 August 3, 2020

I understand that Bamboo is still not compatible with Java 11. 


I have some software in my server that requires Java 11 to work, but I also have Bamboo in the same server. I know you can install both. Java 8 and Java 11 and keep them at the same time...


For the JAVA_HOME variable (Windows Server 2012), I see I can add multiple entries, but that won't necessarily mean that Bamboo will find the compatible one in the list?


It there a setup or arrangement I can do in my server so that Bamboo detects there's a Java 8 and uses it, and the other Software uses Java 11? (I can't edit anything in the other software, so the default pointers/variables must direct to Java 11 so that the other software detects it).

1 answer

0 votes
Erick Johanson August 3, 2020

i think you need to edit some config file, there are options to set envionment (i know from jira) you can set in config file where java_home which one to use, i think this way can be correct or looking for solution to set env for (bamboo user)


bamboo directory and files


plan B

found something maybe will helps

There are some code block that said how to 

The set command only works for the current terminal. To permanently set a system or user environment variable you can use setx.

setx JAVA_HOME "C:\Program Files\Java\jdk1.7.0_72" /m


setx doc:


p.s. test it on stage before prod, and make backup copy of config files

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events