fail early in case git or javac are missing