how to create user environment variable in linux code example
Example 1: how to set environment variables in linux
source ~/.bash_profile
Example 2: set environment variable linux
export JAVA_HOME=/opt/openjdk11
source ~/.bash_profile
export JAVA_HOME=/opt/openjdk11