enforcing java 1.6