Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to install self hosted runner in windows 11 to run pipe line

Prakash Koladiya
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 10, 2024

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.

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 11, 2024

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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events