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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Work with Java 8 and Java 11 in the same machine

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

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

https://confluence.atlassian.com/bamboo/locating-important-directories-and-files-289277247.html

 

plan B

found something maybe will helps

https://stackoverflow.com/questions/26993101/switching-between-different-jdk-versions-in-windows

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:

https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/setx

 

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
TAGS
Community showcase
Published in Bamboo

Bamboo 7.2 is here!

I'm happy to announce that Bamboo 7.2 has been released and it’s overflowing with awesome new features. This will be the last major Server release before the launch of Bamboo DC. Bamboo logs We...

534 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you