Allow java 6