I'm facing below error during installation...please check help to resolve below issue
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/pipelines/runner/core/ApplicationImpl : Unsupported major.minor version 55.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: com.atlassian.pipelines.runner.core.ApplicationImpl. Program will exit.
Hello Prakash and welcome to the Community!
By looking at the error message you shared, it seems that runners are failing to start due to the version of Java you have currently installed in the machine not being compatible with the runner.
As described in the Windows Runners prerequisites , for runners to work you need to have installed the following dependencies :
OpenJDK 11 (11.0.15 or newer) is installed
Git 2.35.0 and above
PowerShell 5.0 and above
A 64-Bit Windows 10+ or Windows Server 2019+ instance with at least 8GB of RAM as a host for the runner.
In this case, could you please try installing a compatible version of OpenJDK and try starting the runner again?
Thank you, @Prakash Koladiya !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.