Hacker News new | ask | show | jobs
by karmakaze 2170 days ago
My opinion is between these. A single binary is easier, and the java app deployment could be made better than it is now.

Currently I make an 'uberjar' that includes all java dependencies including Tomcat/Jetty/etc: java -jar my-app.jar

What's annoying is finding the desired JDK/JRE for each OS with the right license and manually installing it. Sometimes having to make some file fixes (e.g. OpenJ9 JDK & Maven compatibility).