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