>PROBLEM
When running “mvn clean install” you get:
Fatal error compiling: invalid target release:
>SOLUTION
Set JAVA_HOME envvar or include it into the script which runs maven.
export JAVA_HOME=”/home/portables_d/jdk1.8.0_144″
>ENV
linux/debian
Brazilian system analyst graduated by UNESA (University Estácio de Sá – Rio de Janeiro). Geek by heart.