HRCPP-147 Make the cmake configuration less brittle if Java is missing