JAVA_HOME is \jdk 1.8
Agent version is 6.2.5
Here is log,
STATUS | wrapper | 2018/03/20 17:53:27 | --> Wrapper Started as ServiceSTATUS | wrapper | 2018/03/20 17:53:27 | Launching a JVM...INFO | jvm 1 | 2018/03/20 17:53:28 | Wrapper (Version 3.2.3-atlassian-1) http://wrapper.tanukisoftware.orgINFO | jvm 1 | 2018/03/20 17:53:28 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.INFO | jvm 1 | 2018/03/20 17:53:28 |INFO | jvm 1 | 2018/03/20 17:53:28 | 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.0INFO | jvm 1 | 2018/03/20 17:53:28 |INFO | jvm 1 | 2018/03/20 17:53:28 | WrapperSimpleApp Usage:INFO | jvm 1 | 2018/03/20 17:53:28 | java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]INFO | jvm 1 | 2018/03/20 17:53:28 |INFO | jvm 1 | 2018/03/20 17:53:28 | Where:INFO | jvm 1 | 2018/03/20 17:53:28 | app_class: The fully qualified class name of the application to run.INFO | jvm 1 | 2018/03/20 17:53:28 | app_arguments: The arguments that would normally be passed to theINFO | jvm 1 | 2018/03/20 17:53:28 | application.STATUS | wrapper | 2018/03/20 17:53:30 | <-- Wrapper Stopped
You probably have multiple Java versions installed.
Please make sure that the latest one is used by Bamboo. In other words you need to ensure Bamboo is starting up using Java 8, otherwise it won't work. You can force this to always use specific version.. you can do this by editing <BAMBOO_INSTALL>/bin/start-bamboo.sh and edit this line..
JAVA_HOME="your/java/path"
Sorry My question header was not complete. Actually I have installed my Remote Agent as a service in windows but when I tried to start the service I am getting above warning in log.
Mirek's comment was on point - it looks like the agent is starting with a too new version of Java.
Cheers,
Christian
Premier Support Engineer
Atlassian
after changing JAVA_HOME to my java path getting below error
STATUS | wrapper | 2018/03/20 18:52:22 | Starting the Bamboo Remote Agent service...INFO | wrapper | 2018/03/20 18:52:28 | Waiting to start...INFO | wrapper | 2018/03/20 18:52:33 | Waiting to start...INFO | wrapper | 2018/03/20 18:52:38 | Waiting to start...INFO | wrapper | 2018/03/20 18:52:43 | Waiting to start...ERROR | wrapper | 2018/03/20 18:52:44 | The Bamboo Remote Agent service was launched, but failed to start.
It looks like you're new here. Sign in or register to get started.