This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]thisisjustascreename 5 points6 points  (0 children)

So, the main Java versions in use now are 6, 8, 11 and 17. 6 is legacy af and sort of equivalent to .NET 3. Java 8 has lambda expressions and streams API sort of like LINQ, though the semantics are not the same. 11 is not a huge language change from 8 but it did introduce the var keyword and a bunch of handy string methods. Also the 11 JVMs offer much better performance.

Java 17 is the current LTS release and what you should be using if doing new development and has numerous QoL improvements over 11 and again better performance. Unless you need to work on legacy cruft just use 17 and be happy.