Change java platform to jdk 1.6