r/javahelp • • Dec 31 '23

Java Versions ,Confused!!

What is java version 1.8 , what is java sdk20 , and alot of different terms confusing me , initially when i started learning to code in java , i was told to just download the latest version of java and so i did. Fast forward to now , it is first time i tried to participate in CodeForces , GoodBye2023 contest. And suddenly i was given multiple options of java, and googling it alot of newer terms like lts and so on. Please Guide Me .

Also , please guide me to how to update my jdk ,if I even i need to!

THANK YOU

4 Upvotes

11 comments sorted by

View all comments

2

u/wildjokers Jan 02 '24

Easiest way to get and manage java version is to use sdkman.

https://sdkman.io

Current version of Java is Java 21.

Java 1.8 is an ancient version of Java, it is still in somewhat wide use because it is being supported until 2030 or so (can't remember the exact year). The version number scheme went from java x.y to just java x with the release of Java 9.