change test to be able to handle lambda forms
Add JAVA_HOME and Java version to build lifecycle, for CI integration purposes