Change Configuration to work with Jdk 1.6