Hi.
It looks like version 1.45.0 of the java agent is unable to start with Java 7. The issue seems to be coming from JCC tools. 1.44.0 works ok.
17:41:53,342 ERROR [stderr] (elastic-apm-agent-initialization) [elastic-apm-agent] ERROR Failed to start agent
17:41:53,343 ERROR [stderr] (elastic-apm-agent-initialization) java.lang.reflect.InvocationTargetException
17:41:53,343 ERROR [stderr] (elastic-apm-agent-initialization) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
17:41:53,344 ERROR [stderr] (elastic-apm-agent-initialization) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
17:41:53,344 ERROR [stderr] (elastic-apm-agent-initialization) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
17:41:53,344 ERROR [stderr] (elastic-apm-agent-initialization) at java.lang.reflect.Method.invoke(Method.java:606)
17:41:53,345 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.AgentMain.loadAndInitializeAgent(AgentMain.java:157)
17:41:53,345 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.AgentMain.access$000(AgentMain.java:35)
17:41:53,346 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.AgentMain$1.run(AgentMain.java:131)
17:41:53,346 ERROR [stderr] (elastic-apm-agent-initialization) Caused by: java.lang.UnsupportedClassVersionError: org/jctools/queues/atomic/MpmcAtomicArrayQueue : Unsupported major.minor version 52.0
17:41:53,347 ERROR [stderr] (elastic-apm-agent-initialization) at java.lang.ClassLoader.defineClass1(Native Method)
17:41:53,347 ERROR [stderr] (elastic-apm-agent-initialization) at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
17:41:53,348 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.ShadedClassLoader.defineClass(ShadedClassLoader.java:171)
17:41:53,348 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.ShadedClassLoader.findClass(ShadedClassLoader.java:149)
17:41:53,349 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.premain.ShadedClassLoader.loadClass(ShadedClassLoader.java:133)
17:41:53,349 ERROR [stderr] (elastic-apm-agent-initialization) at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
17:41:53,349 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.objectpool.ObjectPoolFactory.createRecyclableObjectPool(ObjectPoolFactory.java:43)
17:41:53,350 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.report.PartialTransactionReporter.<init>(PartialTransactionReporter.java:46)
17:41:53,350 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.report.ApmServerReporter.<init>(ApmServerReporter.java:161)
17:41:53,351 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.report.ReporterFactory.createReporter(ReporterFactory.java:40)
17:41:53,352 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.impl.ElasticApmTracerBuilder.build(ElasticApmTracerBuilder.java:186)
17:41:53,352 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.impl.ElasticApmTracerBuilder.build(ElasticApmTracerBuilder.java:134)
17:41:53,352 ERROR [stderr] (elastic-apm-agent-initialization) at co.elastic.apm.agent.bci.ElasticApmAgent.initialize(ElasticApmAgent.java:165)
17:41:53,353 ERROR [stderr] (elastic-apm-agent-initialization) ... 7 more