Ensure new build method standardises on JDK 5 or better.