There's no good reason to use Java on new projects in late 2026. There are just objectively better options, and since you can now code in any language, Java is unjustifiable.
The GC in Java is just not going to keep up with the like of Rust. It costs a lot less to run a heavy duty service on Rust than in Java because of the memory. Java will stay around for a while because of its rich libraries, but once those libraries are converted in Rust, it will go out of fashion very quickly.