Hey folks, is JBR still de-facto required for the ...
# compose-desktop
r
Hey folks, is JBR still de-facto required for the best compose desktop experience? And if so, is there any possibility of getting the JBR releases to track closer to the latest JDK versions (i.e. 24)?
a
Not required.
s
Hey folks, is JBR still de-facto required for the best compose desktop experience?
I think there are arguments that support a confident 'yes'.
a
Can you list them? I’m only familiar with a few edge cases where JBR works better than, say, Corretto.
s
I would like to point to the README.md of the JetBrains Runtime:
Copy code
JetBrains Runtime is a fork of OpenJDK available for Windows, Mac OS X, and Linux. It supports enhanced class redefinition (DCEVM), features optional JCEF, a framework for embedding Chromium-based browsers, includes a number of improvements in font rendering, keyboards support, windowing/focus subsystems, HiDPI, accessibility, and performance, provides better desktop integration and bugfixes not yet present in OpenJDK.
https://github.com/JetBrains/JetBrainsRuntime
Where I value DCEVM + hot reload. Font Rendering, keyboards support, ...: All those fixes and changes make it clear that this JVM is tailored and designed to run UI apps.
a
font rendering is irrelevant for Compose
hot reload is nice, but not mandatory, obviously
If you need JCEF, then yes, you need JBR