
Setting Java Home in Ubuntu 20
1.Open Terminal Using the command ctr+alt+T2.Type the Command 'sudo -H gedit /etc/profile' 3.Separate Window Opens up there add the followingJAVA_HOME=/opt/java/jre1.8.0_281/binPATH=$PATH:$HOME/bin:$JAVA_HOME/binexport JAVA_HOMEexport JRE_HOMEexport PATH4.In JAVA_HOME point it to the directory where you have...