Nice, but as of JDK 25 (the preview JEP 445 has become the permanent JEP 512), the canonical Hello World in Java is:
void main() {
IO.println("Hello World");
}Not a java developer but why the void? Shouldn't your main function and program return an integer?
Thanks, I made a note to update that someday.
Since it seems like you work on Java, would you mind taking a look at https://bugs.java.com/bugdatabase/view_bug?bug_id=JDK-836673..., where this syntax does not work for shebangs?