I went to the general tab but there is no such checkbox.
What about the Security & Advanced tabs? Did you check those?
CLICKY CLICK---> Java for OS X 2013-004
CLICKY CLICK---> Java updates available for OS X on April 16, 2013
After the installations, repair permissions and restart your computer.
If your java problems are while using Safari, you need to post in that forum area.
The short version:
Go to Applications>Utilities>Disk Utility and select your volume and then select Repair Permissions.
Same directions are also in the OS Mac Help Menu.