Added a java6 compiled version