enforcing the java version (1.6)