Remote Agent Startup Issue Java version

Patrick Schaller October 9, 2017

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
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2017

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

Patrick Schaller October 11, 2017

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
AUG Leaders

Atlassian Community Events