Which Java version compatible with Apple M1 chip?

I have a MacBook Air 2020 with the M1 chip. Which Java version will work?

I have only found Java versions for Intel chips and not the Apple chip. Please advise.

Thank you

I am not a macOS user, and can only share what I learned from @cloph some time ago - he was mentioning a Java package from Microsoft (sic!). I believe it’s this: Microsoft Build of OpenJDK (“Available for macOS, Linux, and Windows”).