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

2

u/PseudosSC Oct 11 '19

Because moving something from 8 to 11 is not trivial. With the module stuff added in 9 you can’t just build with a new version and be done with it (which MOSTLY worked 7-8, and 9/10-11).

Meaning it takes time, and possibly a senior dev. Good luck convincing a project manager to allocate budget for that when it could be used for new features/bug fixes/pure support income.

2

u/nutrecht Lead Software Engineer / EU / 20+ YXP Oct 12 '19

Because moving something from 8 to 11 is not trivial.

It's pretty trivial. If you're not doing nasty stuff with sun.misc.Unsafe it's generally a matter of making a few Java EE dependencies explicit.