How To Install JDK 10 In Linux

Video is ready, Click Here to View ×


How to Install JDK-10 On Linux

Copy Commands And Paste Into Terminal

sudo update-alternatives –install “/usr/bin/java” “java” “/usr/lib/java/jdk-10/bin/java” 1
sudo update-alternatives –install “/usr/bin/javac” “javac” “/usr/lib/java/jdk-10/bin/javac” 1
sudo update-alternatives –install “/usr/bin/javaws” “javaws” “/usr/lib/java/jdk-10/bin/javaws” 1

Edit bashrc file

~/.bashrc file

open file with this command

sudo gedit ~/.bashrc

And add this line in bashrc File

export…

Be the first to comment

Leave a Reply

Your email address will not be published.


*