Java: Set JAVA HOME environment

From Glitchdata
Jump to navigation Jump to search
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
PATH=$PATH:$JAVA_HOME/bin

To make this permanent, you will need to add the lines to your .profile or .bashrc.