I’ve been using Macs on and off since 2014 (mac mini’s and MacBook Pro’s), I’ve never installed Java and my machines have worked perfectly. I would have to say that Java isn’t really needed.
And you can set Java NOT to enable Java content in a browser, in the Java Control Panel/Security under System Preferences. That way, only apps on your Mac that need Java can use it.
And you can set Java NOT to enable Java content in a browser, in the Java Control Panel/Security under System Preferences. That way, only apps on your Mac that need Java can use it.