set environment variables in linus code example
Example 1: how to set environment variables in linux
export JAVA_HOME=/opt/openjdk11
Example 2: how to set environment variables in linux
vi ~/.bash_profile
export JAVA_HOME=/opt/openjdk11
vi ~/.bash_profile