Script Java Easily in 21 and Beyond - Inside Java Newscast #49
Nicolai Parlog on May 25, 2023To give Java and programming beginners a better learning path, JEP 445 proposes to allow stand-alone main methods that are non-public, non-static, and don’t have an args array, so the shortest possible Java program is just void main()
. We’re also looking at the JEP draft for Launch Multi-File Source-Code Programs what builds out the late section of the on-ramp by allowing the Java launcher to in-memory compile and launch multiple source files, even with dependencies.
Make sure to check the show-notes.