Nikolas Falco Cheers mate. Thanks for your prompt response. Actually, I ran my project on an M1 chip MacBook Pro in a jenkins4eval/jenkins container, which inside the docker preview version. I have two JRE version on my laptop, one is "Zulu 13.35.1025 [126.96.36.199]", another is "JRE "[15.0.1]". So, I got the two different results of that code: "aarch64, Mac OS X" and "x86_64, Mac OS X". I believe the Zulu one is my primary JRE environment.