What JVMs are people using for your desktop apps? ...
# compose-desktop
m
What JVMs are people using for your desktop apps? I am using Corretto without issues, but wondering if the JetBrains Runtime is a better choice?
s
I just use whatever the Compose Desktop packaging process bundles with it. If that's based on the one I use for development, then it's Eclipse Temurin (or is it called Adoptium now?)
e
I think Jetbrains suggests using JBR because there are fixes in it that might not be present in other VMs.
m
JBR allows having a custom window decoration:
👍 3
r
Are custom window decorations usable with a normal compose Window?
m
Yes, check jewel for more informations: https://github.com/JetBrains/jewel
r
Ah, it looks like you can't use a normal Window, it must be a DecoratedWindow
m
DecoratedWindow is just a wrapped around normal compose Window
m
Is there any public documentation for the JetBrains Runtime, in terms of what does it change and how to use it? For example I read that it improves global shortcuts, but I can't find any docs on how to make use of that functionality, or "provides better desktop integration", what does it exactly improve and how to make use of it?
8
m
I don't think so. The only possible thing I could think of is checking IntelliJ IDEA source code, which is like looking for a needle in a haystack 😅
m
The documentation for using Jetbrains Runtime's special features is here: https://jetbrains.github.io/JetBrainsRuntimeApi/jetbrains.runtime.api/com/jetbrains/package-summary.html For anyone searching in the future.
👍 4