apply environment variables linux code example
Example 1: shell set environment variable
export VARNAME="my value" # shorter, less portable version
Example 2: how to set environment variables in linux
export JAVA_HOME=/opt/openjdk11
export VARNAME="my value" # shorter, less portable version
export JAVA_HOME=/opt/openjdk11