How do I enable Java in a MAC machine?

Please follow the below steps to enable Java in MAC.

 Step 1) From your desktop, click on the Apple Icon, then open System Preferences.

Step 2) From the System preferences, click on Java.

Step 3) From the General Tab, you can see the Java in browser is disabled.

Step 4) From the Security Tab, enable Java content in the browser and click OK.

Step 5) In the pop up, enter your machine user name and password and hit OK.

Step 6) You will get a confirmation, that is Java is enabled in the browser. You may need to restart the browser.