openHAB 5.0 Java -> Azul Zulu 21 or Eclipse Temurin 21?

Hello everyone!

I am upgrading to version 5.0.0 on Windows.

As usual I updated Java, this time to version 21.
I was surprised that they recommend changing Azul to Eclipse!
I have been using Azul for 4 years.
Why are we switching to Eclipse?

Is Azul bad?

Is Eclipse convenient for developers? What are the reasons?

I do not remember the reason but I myself moved to Eclipse Temurin.

Note that openHAB 5 should be able to work with any JRE 21 64 bit so if you prefer Azul JRE, you can use it.

Yes, you can still use Azul Zulu if you’re happy with it. :wink:

However, many people prefer Temurin over Zulu nowadays for a few reasons:

  • Fully open-source build infrastructure: Temurin’s binaries are built using an entirely open-source pipeline, while Azul’s build process is not fully open.
  • Newer glibc usage on Linux: Temurin typically links against newer versions of glibc. This can result in better performance since the JVM can take advantage of newer APIs. The trade-off is reduced compatibility with older Linux distribution. Something that doesn’t matter if you’re on Windows.

That said, if your Linux distribution provides a compatible OpenJDK package in its repositories, it’s often better to use that. It will be built against your system’s glibc, which is typically newer than the one Temurin uses, as Temurin targets broader compatibility.

1 Like

Thank you!

1 Like