Reduced the required java version to 1.6