Answers for "configure java_home ubuntu"

0

set java_home permanently ubuntu

sudo gedit /etc/profile
#add following lines

JAVA_HOME=/usr/lib/jvm/{your jdk path}
PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
export JAVA_HOME
export JRE_HOME
export PATH
#logout to update the changes
Posted by: Guest on February-22-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language