Hacker News new | ask | show | jobs
by towawy 1366 days ago
So this makes me wonder: how common is desktop app development with Java these days? I imagine there is still a lot done for internal app, but is it still viable to ship Java apps to end users? How you handle JRE distribution in that case?

Anyway also wanna shout out Dear ImGui[0]. I've been using it recently to build an interactive UI to quite complicated networking code. So far it been great for manual testing and demos, and it's fairly low maintenance once running.

[0] https://github.com/SpaiR/imgui-java

3 comments

You can bundle the JRE with the app using https://docs.oracle.com/javase/9/tools/jlink.htm and use https://docs.oracle.com/en/java/javase/14/docs/specs/man/jpa... to create distributions for the main platforms.
There is not even a JRE anymore, you are supposed to bundle the JDK’s relevant part with your app for quite some version now.
I think you're right, it's mostly internal tools these days. Like a lot of Java stuff, it's the dark matter of the software world.