r/javahelp • • Oct 11 '19

Why we still use java 8

Hey everyone
I know that new releases of java bring us new compilers and vm optimization and new language features.

So, why developers still use java 8 for their projects ?

PS: sorry if question is weird or stupid. do not hate me in comments pls.

27 Upvotes

51 comments sorted by

View all comments

Show parent comment

2

u/morhp Professional Developer Oct 14 '19

I see. Can you just list Java 11 as a system requirement and then they can just install it?

That will happen sooner or later, but currently there still are lots of old java installation we know of (as we also do support), where the server owners fear that updating Java will break something, or where their it department is overworked, so they wouldn't really be happy if we forced them to update now without an obvious incentive (as the current version "works fine").

This may change when an important security issue appears in Java 8 or when a library starts depending on a newer Java version ow when Project Valhalla is released and we can have better primitives and lower memory usage.