Java Development Kit: How to Install And Setup Java JDK 11 On Linux

preview_player
Показать описание
Java Development Kit: How to Install And Setup Java JDK 11 On Linux

Do you want to know how to install the Java JDK 11 (Java SE Development Kit) on your Linux machine? Well, you're in the right place! I have created this tutorial showing you how to easily download and install it on your computer.

Now if you are running a Windows PC, or a Mac, then click the links below to watch a video showing you how to do it on your platform.

Yes, I know I am that type of guy, I like being comprehensive and providing videos for everyone on all platforms.

Please let me know what you thought of the video by commenting below, and also please let me know what topics you would like me to cover in future videos.

If you're ready to look at the next coding-specific programming video, click on the link below to get redirected to the playlist for programming videos:

If you want to get some programming tips and pieces of advice, click on the link below to get redirected to the playlist for all programming tips:

Consider subscribing by clicking on the Subscribe button right below the video.

Where to find out more about me:

My Video Courses

Twitter

Facebook
Рекомендации по теме
Комментарии
Автор

Thanks I have managed to install "jdk-15.0.2" I have searched everywhere but this have solved my problem and 1010 should be typed as it is told don't worry its working.

rajatagrahari
Автор

Thanks a million, sir! I owe you my life!

sweetjimmy
Автор

Very good, thank you for contributing to the Linux Community.

isaiah
Автор

this is the best method .. this way don't have to debug the apt commands .. can be used to install Corretto as well :)

zympf
Автор

Thanks a lot Tim! Very simple and effective explanation.

rockduds
Автор

Thank you very much you really help me!

agustinbaigorria
Автор

Finally, a tutorial that helped me out to install java on my Linux deepin *___*

brunofilgueiras
Автор

Really helpful, saved me tons of time

shixuenchin
Автор

Thanks for the tutorial. May I ask you what the significance of '1010' is when you're executing the update-alternatives command?

manufactured_reality
Автор

thanks, thanks, thanks a lot finaly i manage to install java 11, have a like and sub.

feromonxz
Автор

Hey Tim. Thanks for a great tutorial. I noticed that after I moved the unzipped files from my ~/Downloads folder to /usr/lib/jvm/jdk-11.0.2/, it kept my user permissions from Downloads. This might be OK, but I went ahead and changed permissions to root with a sudo chown -R root:root /usr/lib/jvm/jdk-11.0.2/*. Doing this made the permissions match the other java directories and files in the jvm directory. I also had to run sudo update-alternatives --config java and select my newly installed so that java --version command displayed the right java version. Running update-alternatives borders on witchcraft and my release might be a little borked so others may not have these issues. Thanks again!

dysalgorithm
Автор

Hi Tim! Thanks for your work and tutorials. But I have a question about Oracle JDK and OpenJDK.
1) Why do you use Oracle JDK? I read some info's that Oracle is not free for commercial projects. SO I decided to install OpenJDK.

2) Does Oracle and Open JDK's have differences? Which is the best to use in education of JAVA? I mean will I have problems when I apply for a job with skills in OpenJDK?

ivangolyshev
Автор

Thank you Tim.

I have a question, after I type sudo mv jdk-11/* /usr/lib/jvm/jdk-11/ i get a line saying

Mv: cannot stat ‘jdk-11/*’ no such file or directory.

My understanding is that it’s saying that folder jdk 11does not exist. I tried to make jdk-11 file twice but still no help

Kittycat
Автор

You may also want to enable the jshell command using the following: (your jdk version may vary, here I'm using 14.0.2) sudo update-alternatives --install "/usr/bin/jshell" "jshell" 1010

barrysweeneymusic
Автор

Hello there Tim, If you can upload videos on interview preparations then that would be a great help from your side.

vivekrai
Автор

Thanks, you help me so much!!! running on ubuntu 19.04 Disco Dingo

josivaldobatista
Автор

Heyy update-alternatives doesn't work on Manjaro (Arch Linux). So what should I use there?

amananand
Автор

Hey guys for my case in linux mint it didnt work sudo update-alternatives --install "/usr/bin/java" "java" 1010, instead I had to use sudo update-alternatives --config java and there chose the option for jdk11 typing the number of the option and after that pressing enter

damercadoo
Автор

Is there a difference that i did the same but with java 11.02 and also how do i set it up in eclipse? Btw the videos are awesome!

georgihaydukov
Автор

What are the commands for Oracle linux ?
Thanks Tim!

MrDahkilla
visit shbcf.ru