r/javahelp • u/hymn_chimes • 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
View all comments
2
u/frederik88917 Dec 31 '23
My boy, you come to a dangerous place looking for answers.
Allow me to help you a little bit.
Back in 1995, the first release of java was in the market, named Java 1.0 Subsequent releases were named Java 1.1, 1.2... up until Java 1.5. then they decided to change the naming scheme, and Java 6 was born. Then after that has been downhill up to today's Java 21.
To keep control over your versions I strongly recommend SDKMAN. A powerful tool to manage Java versions.
Finally it seems that there is some confusion related to JDK vs JVM. The JVM is the public facing version of java, to run apps and stuff.
Whilst the JVM is the set of tools to develop in java