How to install java 13

Hello Kodekloud,

I am referring to Java introduction lab question 6 ,
After unzipping, a directory name jdk-13.0.2 got created,
How to install java from here ?

Thank you ,
Abhi

Hi @Abhi623
Check the full solution below :
JaveKodeKloud

It doesn’t work for me.

sudo wget https://download.java.net/java/GA/jdk13.0.2/d4173c853231432d94f001e99d882ca7/8/GPL/openjdk-13.0.2_linux-x64_bin.tar.gz

sudo tar -xvf openjdk-13.0.2_linux-x64_bin.tar.gz -C /opt/

/opt/jdk-13.0.2/bin/java --version

Also did a chmod on the folder to give full rights, still didn’t help.

Hi @c410n

Please try this: Download and Install Java Development Kit (JDK) 13 - Examples Java Code Geeks - 2023

Thank you.

1 Like

We can’t install Java 20 . we’re being asked to install java 22 and we can’t do that.

What are you referring to? This thread is nearly 4 years old.

Hi, i know it’s old but i just started the course yesterday. I managed to do it but we can’t do it in the lab because the question its regarding java 20 and we can’t install that from what i se3.

Do you have a link to the lab?

https://beta.kodekloud.com/user/courses/udemy-labs-the-complete-devops-bootcamp/module/414f5608-1bbe-483c-bb72-f100280355c0/lesson/488d6c2a-9be3-4e81-aab9-b724d875e2e7?utm_source=udemy&utm_medium=labs&utm_campaign=ultimate_devops

I have completed the task of installing Java 20 without issue. Where are you stuck?