Remote Agent Startup Issue Java version

Hello,

I ran into a startup issue with the bamboo remote agent. 

The supported platforms article means that only java 1.8 is supported.  The log of the agent means:

INFO | jvm 4 | 2017/10/09 14:46:01 | Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
INFO | jvm 4 | 2017/10/09 14:46:01 | has value '1.8', but '1.6' is required.

After changing the registry key manually to 1.6 (it is also installed) I get the following messages:

INFO | jvm 1 | 2017/10/09 14:49:58 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.org
INFO | jvm 1 | 2017/10/09 14:49:58 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
INFO | jvm 1 | 2017/10/09 14:49:58 |
INFO | jvm 1 | 2017/10/09 14:49:58 | WrapperSimpleApp: Unable to locate the class com.atlassian.bamboo.agent.bootstrap.AgentBootstrap: java.lang.UnsupportedClassVersionError: com/atlassian/bamboo/agent/bootstrap/AgentBootstrap : Unsupported major.minor version 52.0
INFO | jvm 1 | 2017/10/09 14:49:58 |
INFO | jvm 1 | 2017/10/09 14:49:58 | WrapperSimpleApp Usage:
INFO | jvm 1 | 2017/10/09 14:49:58 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
INFO | jvm 1 | 2017/10/09 14:49:58 |
INFO | jvm 1 | 2017/10/09 14:49:58 | Where:
INFO | jvm 1 | 2017/10/09 14:49:58 | app_class: The fully qualified class name of the application to run.
INFO | jvm 1 | 2017/10/09 14:49:58 | app_arguments: The arguments that would normally be passed to the
INFO | jvm 1 | 2017/10/09 14:49:58 | application.

bamboo 6.2.1

java 8u114

win 7x64

 

Does anyone know what I did wrong?

 

1 answer

This widget could not be displayed.

Hi Patrick,

Did you install the JDK?:

For Bamboo server, it is not enough to have just the JRE. Please ensure that you have the full JDK.

You can download the Java SE Development Kit (JDK) from the Oracle website.

Once you install the JDK you'll need to set the JAVA_HOME:

Once the JDK is installed, you will need to set the JAVA_HOME environment variable, pointing to the root directory of the JDK. Some JDK installers set this automatically (check by typing 'echo %JAVA_HOME%' in a command prompt, or 'echo $JAVA_HOME' in a shell). You need to do this before installing Bamboo, as Bamboo will automatically configure JDK capabilities based on the system environment variables on your machine.

Let me know if that is all set and we'll go from there.

Cheers,

Branden

Hi Branden,

I have installed the jdk 1.8.0_144 (x64).

The environment variable JAVA_HOME points to C;\Program Files\Java\jre_1.8.0_144

Thanks,

Patrick

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

82 views 1 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you