Script Java Easily in 21 and Beyond - Inside Java Newscast #49

Publié le: 24 mai 2023
sur la chaîne: Java
11,694
545

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 ➱ https://openjdk.org/jeps/445
JEP draft ➱ https://openjdk.org/jeps/8304400
Design document ➱ https://openjdk.org/projects/amber/de...

~~~ 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 ➱ https://dev.java
◦ Inside.java ➱ https://inside.java
◦ OpenJDK ➱ https://openjdk.org
◦ Oracle Java ➱ https://www.oracle.com/java/

Tags: #Java #OpenJDK #JavaScript (because "scripting Java" 😋) #InsideJava


Sur cette page du site, vous pouvez voir la vidéo en ligne Script Java Easily in 21 and Beyond - Inside Java Newscast #49 durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Java 24 mai 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 11,694 fois et il a aimé 545 téléspectateurs. Bon visionnage!