Missed Team ’24? Catch up on announcements here.

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

Windows Runner -Java compatibility issue

krishnareddy2 December 1, 2022

I am trying to setting up windows runner, followed the steps and downloaded the zip file from portal. 

I have below JDK.

java version "17.0.4.1" 2022-08-18 LTS
Java(TM) SE Runtime Environment (build 17.0.4.1+1-LTS-2)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.4.1+1-LTS-2, mixed mode, sharing)

 

.\start.ps1 -accountUuid '{9b7e1a7c-6fbe-4113-ba2a-ab62eac9231d}' -repositoryUuid '{070ed17f-775f-47b7-907b-36e76f4aa554}' -runnerUuid '{4549c788-7778-5dd5-aea7-268bec708b28}' -OAuthClientId YHAdwTnpqrTYwH1W67fDFp3rGjejxwfB -OAuthClientSecret ATOA0Q1lYqXJw6SzQJpnb3ob-UsmzrUJ0Rh8f_bcRE_e2b3tUzzlPqNkj3OluKfXpljeC24D066F -workingDirectory 'C:\BIT\temp'

 

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(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)

3 comments

Comment

Log in or Sign up to comment
krishnareddy2 December 1, 2022

Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/atlassian/pipelines/runner/core/ApplicationImpl has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0


at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:756)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)
at java.net.URLClassLoader.access$100(URLClassLoader.java:74)
at java.net.URLClassLoader$1.run(URLClassLoader.java:369)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355)
at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:601)

krishnareddy2 December 3, 2022

After switched to OpenJDK 11, I am getting below error. 

 

[2022-12-03 10:34:10,469] [c7c34514, L:/192.168.1.222:12130 ! R:auth.atlassian.com/104.192.137.17:443] The connection observed an error
sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

Jonas Lorincz
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!
January 6, 2023

I am trying to start the runner on an Windows Azure VM, and I get this same issue.

Most recent version of java is installed.

The runner works fine on my local machine for some reason.

TAGS
AUG Leaders

Atlassian Community Events