fix java version of class files compiled for 7 instead of 6