ensuring java 1.6