DEV Community

Discussion on: What do you think of the future of Java?

Collapse
 
erikthered profile image
Erik Nelson

Java has a lot more staying power than people give it credit for. While it might not be trendy or flashy, it's going to be around in the enterprise for a long time. The ecosystem is huge and there are lots of good libraries/frameworks for getting things done. Deployment can be a hassle in certain environments but starting with Java 10 there's much better support for running in a container.

It'll be interesting to see what happens now that Java 8 support is starting to taper off. Ignore the FUD about Oracle charging for Java, this is purely to continue getting updates for Java 8 using the Oracle JRE/JDK. If you move to an OpenJDK build you're all good, see here for details on the options available. Going forward it's going to be a best practice to stay in step with the latest Java releases.

To echo several other people here, I'm really a lot more excited about Kotlin's future. It can take advantage of the existing ecosystem seamlessly making the transition nearly painless (especially because of IntelliJ's terrific support). On top of being a "better" Java, it also has a ton of potential because it can compile to targets other than JVM bytecode. Being able to compile to JavaScript and native binaries is huge. I'm really excited to see where they go from here.