Create
cancel
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

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

0 votes

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
TAGS
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...

638 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