Libre Office requires a runtime environment (JRE) The selected JRE is defective

What do I need to do to stop this appearing when I try to print docs etc, and the crashed doc needing to be recovered?

VicSat

Dupe of: Base says my Oracle JRE v1.7 is defective. Is there a different one?