r/javahelp • u/worldgobble • Feb 16 '20
Should i bother learning JAVA 9?
I am a beginner and got a bunch of free JAVA pdfs teaching in Java 9.
Should i bother (starting with) learning Java 9 or start with learning the latest Java version? Or will learning the older version of JAVA 9 end up setting me back somehow?
9
u/jiiket Feb 16 '20
I've observed most of the applications are working on Java 8. but there's no harm in learning later versions
3
u/solonovamax Feb 16 '20
I'm pretty sure 11 is the new LTS version, so by the time OP is done learning, most companies will have moved to that. (If it is the new LTS version)
8
u/Cr4zyPi3t Feb 16 '20
You would think so but in my current project they are currently making the switch to Java 8 and I bet that still a significant percentage of such legacy applications exists
2
5
u/someone-elsewhere Feb 16 '20
Solid legacy systems will generally not be upgraded from java 8. A pointless exercise unless you are rewriting the code base.
I still code new systems in Java 8, mostly as it's compatible with Android
2
2
u/jiiket Feb 16 '20
agree, the application which I'm working on, is kind of legacy app even tho we're moving towards Java 11.
1
u/worldgobble Feb 16 '20
thank you for the replies everyone!
i am contemplating learning hava 8 or 11 based on responses
nowi just need to jump in and start
1
5
u/chipmandal Feb 16 '20
Echoing /u/Cr4zyPi3t, if you are beginning, Java 8 (or above ) is good enough. The changes after Java 8 are important and useful , but not key to learning the language.
1
u/Aristo153 Feb 16 '20
Usually,JAVA 8 is used for machines but it will be good if you start to learn Java 9.I have been learning Java 8 and I can say that it is very useful.And if there is no problem,you can share us the resources so the Java community keeps growing ;)
1
1
2
u/__helix__ Feb 16 '20
If you are lucky, a company has moved to JDK 11, the current latest 'long term support' version.
Java 8 and 9 are where some packaging and modules structures happened. In theory, from 9 onward, it is just new features in each of the 6 month releases. All the features in 9 will be present in 11 (for LTS) or 13 if you are using the 'current'. Not a bad area to start. JDK 9 itself should not be used as it is a local security risk - but all the code and examples will work fine on a post JDK 8 world.
2
u/codedcosmos Feb 16 '20
Prioritize later versions if you can but also remember that the differences between versions is quite small. If you found a great resource to learn java 9 watch that. Don't think that you won't easily be able to understand java 13 from that. They only change small things.
2
Feb 16 '20 edited Feb 16 '20
Anything 8+ is recommended but if you’re just starting out most the code you write is probably compatible with java 7. In other words, no need to learn the hottest new features past java 8 because a lot of places don’t use time.
2
u/feelsmanbat Feb 16 '20 edited Jul 01 '23
fearless physical consider impolite familiar long airport engine abundant divide -- mass edited with redact.dev
19
u/Cr4zyPi3t Feb 16 '20
If you have good resources to learn Java 9 then start with that. Java 9 isn't that old and not really much changed since then (the only thing that crosses my mind is the addition of switch expressions and raw string literals in Java 13, I think the other updates were mostly under the hood). When you're done learning Java 9 you can always learn the later versions. But from my experience the most important Java version in enterprise development sadly is still Java 8, so you're fine with Java 9.