changed config for java 6 support