No need to do it during every check_reqs. This also extracts the jar building into a helper function.