News for hackers. Stuff that matters.
Re:Java 21 makes me like Java again by nvm0n2 on Sunday September 17, 2023 @05:53AM (#37543264)
There is jpackage and jlink, which don't do single files but make single directory apps.

These days there's also GraalVM native image which does produce Go-like results. But with everyone using Docker on the server anyway it doesn't matter anymore. People who talk about single binaries are confusing to me. What are you doing where shipping one file is so much simpler than shipping a container?

Re:Java 21 makes me like Java again by chii on Sunday September 17, 2023 @06:17AM (#37543442)
> What are you doing where shipping one file is so much simpler than shipping a container?

Desktop applications.

Java would be a more popular desktop application platform if it weren't for the difficulty in this area (which, to be fair, isn't the only difficulty - cross platform is difficult inherently).

Re:Java 21 makes me like Java again by synergy20 on Sunday September 17, 2023 @09:44AM (#37544995)
it's pretty hard for average Joe to install a docker engine before he can pull and run dockers, plus docker is not that great for cross platform desktop GUIs.
Re:Java 21 makes me like Java again by otabdeveloper4 on Sunday September 17, 2023 @11:26AM (#37546048)
> everyone using Docker

Not really.