#Java22

Veröffentlicht am: 19 März 2024
auf dem Kanal: Java
43,824
1.5k

Hey, take a look at this. So, this is a single Java source file and I'm gonna run it with just the java command, right? `java Hello.java` And it just runs, without compiling it first But you already knew that. Well, let me try something new: Do you see that file? `Greeting.java`? Let's rope that one in. I'm gonna run the same command 💥💥💥 Still works. Even changed the output. Now, that's not all. See this JAR there, in the lib folder? Wait, let me open that up. See that JAR there? I'm gonna use that as well. Now, I need to change the command a tiny bit... there you go: It still works! And there you have it: Java 22 can launch multiple source files and even their JAR dependencies straight up without requiring us to call javac, let alone jar. Does that toll the bell for Maven and Gradle?


Auf dieser Seite können Sie das Online-Video #Java22 mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Java 19 März 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 43,824 Mal angesehen und es wurde von 1.5 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!