Installing Java 14 on Linux - Quick and Easy

preview_player
Показать описание
How to install Java JDK 14 on ubuntu linux quickly and easily. Installing java jdk 14 is not quite straightforward but is very simple when you follow the steps in this video on your Ubuntu Linux computer.

The two update alternatives commands:
sudo update-alternatives --install "/usr/bin/java" "java" "%PATHTOJDK%/bin/java" 1

sudo update-alternatives --install "/usr/bin/javac" "javac" "%PATHTOJDK%/bin/javac" 1

To switch between Java JDK versions use the following:
sudo update-alternatives --config java
sudo update-alternatives --config javac
Рекомендации по теме
Комментарии
Автор

Did it work? Any issues or questions, you can ask here.

thecodeimplementation
Автор

Omg, thank you so much! I had been trying a lot things, before you helped me!

Александр-рэм
Автор

Interacting with your subscribers
show how down to the earth you are :)

Jj-scml
Автор

hello, can i have a request? Can you create a video tutorial of how to use JEP 343: Packaging Tool for creating a native installer of JavaFX application. I've been waiting for this feature because they remove it in Java 9. Currently, i have a non-modular javafx 11 application and i'm still struggling finding ways on how i can be able to create an installer . I tried using the early access of the jdk 14 just to try its packaging tool, but for some reasons there's some part of it that is really hard for me to understand. That's why until now i'm still searching the easiest way on how i can create executable and installer. BTW, i'm using Windows 10 OS.

ralphroyeenlagumen
Автор

Hey dear i am getting this error in kali linux
command :-
java -version

Error :-
bash: /usr/bin/java: No such file or directory

But java and javac is present there as shortcut file
idk why

Jj-scml
welcome to shbcf.ru