JAVA HOME SET

on Windows

set JAVA_HOME=javahome then
set “PATH=%JAVA_HOME%\bin;%PATH%”

on Linux

export JAVA_HOME=javahome then
export PATH=$JAVA_HOME/bin:$PATH