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

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

Problem after installing Bamboo

I installed bamboo as a service on my centos 6 server, but when i start it and try to access the url (localhost:8085) there is nothing running. i accessed the logs and found this error message. 

SEVERE [localhost-startStop-1] org.apache.catalina.core.StandardContext.listenerStart Error configuring application listener of class com.atlassian.bamboo.session.SeraphHttpSessionDestroyedListener
java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/session/SeraphHttpSessionDestroyedListener : Unsupported major.minor version 52.0 (unable to load class com.atlassian.bamboo.session.SeraphHttpSessionDestroyedListener)


can anyone please help me get this running? 


1 answer

2 votes
Bruno Rosa Atlassian Team Dec 26, 2016

Hi Thiago, the Unsupported major.minor version 52.0 error happens when we try to run a class that was compiled using the Java 8 compiler into a lower Java version e.g. Java 7 or Java 6. This is the case with the Bamboo Server (and remote agents) after Bamboo 5.10.x. Java is backward compatible, meaning we can run a Java class file (or JAR file) compiled in a lower version (Java 6) into a higher version e.g. Java 8, but it doesn't mean we can run a class compiled using Java 7 into Java 5. Why? because higher versions usually have features that are not supported by lower versions.

If you have multiple Java versions installed, please make sure that the latest one comes first in the PATH environment variable. This is to say, you need to ensure Bamboo is starting up using Java 8, otherwise it won't work.

i do have more than one java version installed. how do i set the PATH so the latest comes first? I thought that only setting the JAVA_HOME variable to the correct path would do the trick, but i am probably mistaken :sad:

Bruno Rosa Atlassian Team Dec 26, 2016

Thiago, if you're running Bamboo on a Linux box, this is what I mean: On the other hand, if you want, you can also force Bamboo to start using a specific Java version. In this case you can edit the <BAMBOO_INSTALL>/bin/ file and add the following to the first line of the file:


Please replace the path with the actual path to Java 8.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bamboo

Bamboo 7.1 is here and is packed with value!

I'm happy to announce that Bamboo 7.1 has been released and it’s overflowing with awesome new features. Top-voted issues First and foremost, a bunch of JAC top voted issues has been delivered - y...

573 views 1 6
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