Update to Java 25

Hello, would it be possible to update from java 21 to 25 ?

Java 25 changes a lot and basically allows classless files, IO class to replace Scanner and modules imports.
All those changes are perfect for something like Codingames. And the fact that you need to write less code also makes it better for certain challenges.

1 Like

I personally agree, and Java 25 is a LTS.
Java is quite known for being verbose, might not what we’d pick first to play the game here, a bit less verbosity would be welcome.

1 Like

This would be highly appreciated. Classless files and the extremely convenient IO class changes everything in the new LTS version.

Now this is valid Java code in version 25:

void main() {
  var input = IO.readln();
  IO.println("line read " + input);
}

And you can put this code inside a Main.java file and run it directly with java Main.java.