Set JAVA_HOME to version 1.6, when publishing

To address joscha/play-easymail#19.
It's better to set the JAVA_HOME than using the bootstrap class path with a different compiler.