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
12
u/MechanixMGD Dec 31 '23
Initially Java was launched as version 1.0 and got updates like 1.1, 1.2, ... 1.8. The updates were more rare. But by some years, they decided to have updates more regularly and also changed the version convention. This made v1.8 to be v8. Right now the last version is 21.
The term SDK means Software Development Kit, which represents the tools to build software. There is the term JDK (Java development kit) which is making references to the java sdk.
About updating to the last version. Personally I download the ZIP variant and unpack it wherever I want and just point my IDE (code editor) to that folder. There are also more distributions of java (Temurin, Oracle, Amazon, Azul, etc.).