| ▲ | pron a day ago | |||||||||||||
Nice, but as of JDK 25 (the preview JEP 445 has become the permanent JEP 512), the canonical Hello World in Java is: | ||||||||||||||
| ▲ | saagarjha 20 hours ago | parent | next [-] | |||||||||||||
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? | ||||||||||||||
| ▲ | prmoustache a day ago | parent | prev | next [-] | |||||||||||||
Not a java developer but why the void? Shouldn't your main function and program return an integer? | ||||||||||||||
| ||||||||||||||
| ▲ | troymc a day ago | parent | prev [-] | |||||||||||||
Thanks, I made a note to update that someday. | ||||||||||||||