We need to ask bigger questions. As someone who has made a career out of Java and made over a million dollars doing it, I really dont see Java as a platform anymore.
I love the integration, and the support that you get with a dead language because its been around so long.
But Java is dead. Has been for a long time.
Im typing this on a desktop with 32GB of ram. Java cant use even that small sum of cheap ram without huge GC pauses, and it never will.
Java has tons of frameworks, some of the very good, but most of them are not. And Java never delivered on its promises and now we are seeing tons of languages port themselves to what is a great VM for JIT compilation, but completely unusable in real world use.
The JVM cant even use 32GB of ram efficiently, and yet we can buy servers with 256GB of ram for 5K.
Java has made a fortune for me, but not in the way it should have. Java will not survive the next 10 years. Get off the platform unless you want to do maintenance.