should be using JavaSE-1.6 VM, and .classpath, codegen.targetPlatform, compliance and source should also all be 1.6
/*
========================================================================
Name : ${fileName}
Author : ${author}
Copyright : ${copyright}
Description :
========================================================================
*/