If you need to enable or disable Java in the Safari browser on macOS, use the following steps:
- Click on "Safari" in the top menu
- Select "Preferences" from the drop down menu that appears
- Click on the "Security" icon
- Check "Enable JavaScript" to turn on Java OR uncheck "Enable JavaScript" to disable Java