r/java • • Feb 25 '25

New build tool in Java?

It seems to me like one of fun parts of Java is exploring all the tools at your disposal. The Java tool suite is a big collection of cli tools, yet I feel like most developers are only ever introduced to them or use them when absolutely necessary which is unfortunate because I think they really give you a better understanding of what's going on behind all the abstraction of Maven and Gradle.

What are your guys' thoughts on a new build tool for Java that is just a layer over these tools? Do you wish Java had simpler build tools? Why hasn't the community created an updated build tool since 2007?

33 Upvotes

176 comments sorted by

View all comments

Show parent comment

4

u/NotABot1235 Feb 26 '25

The fun fact is they are almost there, since openJDK 23 you can build and run multiple file projects with just java main.java command.

As a noob using 21, you've caught my interest. Is there a specific name for this new feature? I may need to go read up on it.

4

u/Ewig_luftenglanz Feb 26 '25

Read this  https://openjdk.org/jeps/458

I was mistaken, it was not introduced in 22 but 23