In Linux how to make environment variable for java and how to install jdk....... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

In Linux how to make environment variable for java and how to install jdk.......

20th Feb 2017, 5:49 PM
Mihir
Mihir - avatar
2 Answers
+ 5
sudo apt-get update java -version sudo apt-get install default-jre sudo apt-get install default-jdk sudo apt-get install openjdk-7-jre sudo apt-get install openjdk-7-jdk $echo JAVA_HOME https://www.digitalocean.com/community/tutorials/how-to-install-java-on-ubuntu-with-apt-get
20th Feb 2017, 6:13 PM
Michael Szczepanski
Michael Szczepanski - avatar
0
I get it
20th Feb 2017, 6:21 PM
Mihir
Mihir - avatar