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

26

u/TwixySpit Oct 11 '19

I think the three main reasons :

  1. Nobody can understand Oracle's licensing, and people are still using the Oracle JDK, so they're still using the JDK versions to which the license doesn't apply.

  2. It seems that Java is being taken in a strange direction by people who don't seem to be Java developers at heart. A lot of the features and syntax changes added to later versions of Java feel pretty pointless to Java developers.

  3. Applications written in Java 8 won't run in later versions for many reasons.
    Most large corporates have a legacy codebase dating back to Java 5 or so, it's simply not possible to move to any version of java past 8.

4

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

Nobody can understand Oracle's licensing

Java is open source and OpenJDK is the Java JDK. There's nothing to understand. There are no licensing issues unless you need to use Oracle JDK. Which almost no one does.

It seems that Java is being taken in a strange direction by people who don't seem to be Java developers at heart.

Interesting bit of gatekeeping. The only slightly controversial issue was local type inference and that is being added to pretty much all modern languages. Heck; even C++ has it.

Applications written in Java 8 won't run in later versions for many reasons.

Migration is generally dead simple unless you are doing nasty stuff with sun.misc.Unsafe for example.

What you gave is not a list of reasons, but a list of excuses. Subtle difference. The main issue is "I don't wanna".