To 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.
JEP 445 ➱ [ Ссылка ]
JEP draft ➱ [ Ссылка ]
Design document ➱ [ Ссылка ]
~~~ Chapters ~~~
0:00 Intro
1:36 A Relaxed Launch Protocol
2:54 The Unnamed Class
4:42 The On-Ramp
6:44 Outro
~~~ Resources ~~~
◦ Dev.java ➱ [ Ссылка ]
◦ Inside.java ➱ [ Ссылка ]
◦ OpenJDK ➱ [ Ссылка ]
◦ Oracle Java ➱ [ Ссылка ]
Tags: #Java #OpenJDK #JavaScript (because "scripting Java" 😋) #InsideJava
![](https://i.ytimg.com/vi/P9JPUbG5npI/maxresdefault.jpg)