How Can I install Java on mac I want to install java plug-in in firefox . 

I read that installing java plug-in is not secure.

EDIT1 : Can anyone please tell me why java installation is not secure, and should I install it or not.
Download and install Java from java.com.



If it doesn't seem to work, check if it is installed using Java Tester. If it only doesn't work in Firefox, make sure that the Java plugin is enabled in the Add-ons Manager tab:


On the menu bar, click on the Tools menu, and then click Add-ons. The Add-ons Manager tab will open.
In the Add-ons Manager tab, select the Plugins panel.
Click on the Java Applet Plug-in to select it.
Select Always Activate in its drop-down menu if it's not already set.