Cannot install Bamboo due to wrong JDK
Platform Notice: Data Center Only - This article only applies to Atlassian products on the Data Center platform.
Note that this KB was created for the Data Center version of the product. Data Center KBs for non-Data-Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Symptoms
Installed Bamboo and cannot start up instance to run the setup wizard. This can be seen in the logs:
1
2
3
4
5
6
7
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'xworkConfigurationInitialiser' defined in class path resource [applicationContextBootstrap.xml]: Invocation of init method failed; nested exception is [unknown location]
Caused by: [unknown location]
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.loadConfigurationFile(XmlConfigurationProvider.java:673)
at com.opensymphony.xwork.config.providers.XmlConfigurationProvider.init(XmlConfigurationProvider.java:91)
at com.opensymphony.xwork.config.impl.DefaultConfiguration.reload(DefaultConfiguration.java:159)
at com.atlassian.bamboo.setup.XWorkConfigurationInitialiser.init(XWorkConfigurationInitialiser.java:17)
at java.lang.reflect.Method.invoke(libgcj.so.90)
Cause
Wrong JDK installed. Bamboo only runs reliably on an Oracle JDK. It is not enough to have the JRE only.
Resolution
Please ensure that you have the full Oracle JDK installed. More information can be found in the Supported Platforms document.
Was this helpful?