set java 1.6 for compatiblity