Optionally allow java to not be managed via the java cookbook.