use jdk 1.6 because of "bad version number" exception when using JPA