how to set env variables in linux from .env file code example Example: how to set environment variables in linux export JAVA_HOME=/opt/openjdk11