Slight bug in the way java is detected / present.

Good day

For systems that do not have Java.

There appears to be a bug with the way java is detected and / or present on the system.

The error message I was getting was:
Could not retrieve fact='nr_java_found', resolution='<anonymous>': undefined method `start_with?' for nil:NilClass

HTH

Kind Regards
Brent Clark