use java -source 5 to compile code
add env support