Change java support to version 1.6