News for hackers. Stuff that matters.
Re:1JPM: A Maven/Gradle alternative in a single Java file by mbreese on Monday July 08, 2024 @10:55PM (#40912115)
For the self executing JAR, I normally add a bash/shell stub for the header that ends with

    java -jar $0
The rest of it sets up the environment (JAVA_OPTS, -Xmx, etc).

There are no comments on this comment yet.