When this community talks about cross-platform desktop applications, they typically mean Electron, Tauri, or other similar web-based desktop apps. All of which are less than ideal for various reasons.
Java apps have been cross-platform since well before it was cool. I've heard a lot of positive things about Kotlin. It's also kinda-sorta native, I think? So why does it seem Java-based cross-platform apps are rarely mentioned in these discussions?
I know the negative aspects of the web-based desktop apps (bundle size, speed, etc). What are the negative aspects of a Java-based app?
As for desktop apps, I guess it's just because web technologies has been Good Enough for a lot of use cases where one might consider using Java or Kotlin, plus you have a vastly bigger ecosystem, plus much better support across platforms (including iOS).
For what it's worth, I'm keeping one eye out on Compose Multiplatform: https://github.com/JetBrains/compose-jb . While it is still new and fairly rough, I've had positive experiences building simple desktop apps with it.
How many frontend developers are available for JS vs Java?
Is the JS bundle size that important when it comes to a desktop app? How does it compare to a jar file?
These are just a few of the questions that play into people's decisions.
In the public space, people don't want to even take the time and are leery of downloading anything like an executable jar. People want to instant gratification of being able to play/use something in the browser. Wordle gets nowhere if it was an executable jar.