You'll probably get an error if you want to run a #Java 21 (or newer) application on a #RaspberryPi 3, Zero 2, or other type with an #Arm #Cortex #A53 processor. It's a known bug already fixed for the July update release. Until then, you can still run your app with extra command-line options as a workaround.
All info is available in a blog post on our site:
https://www.pi4j.com/blog/2025/20250625-java-21-not-working-on-zero-2/