Answers for "install jdk in ubuntu"

15

install openjdk 8 sdk on ubuntu

sudo apt-get install openjdk-8-jdk
Posted by: Guest on March-28-2020
12

install java ubuntu

sudo apt install default-jdk
Posted by: Guest on September-01-2020
0

install jdk in ubuntu

sudo add-apt-repository ppa:openjdk-r/ppa  # only Ubuntu 17.4 and earlier
sudo apt update
sudo apt install openjdk-8-jdk
Posted by: Guest on June-08-2021
0

install jdk in ubuntu

$ Java -version  $ sudo dpkg -i jdk-version.deb  $ ls /user/lib/jvm   $ sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-16.0.1/bin/java 1   $ sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk-16.0.1/bin/javac 1  $ java -version   $ javac -version
Posted by: Guest on June-29-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language