Here's how you can disable Java 7 systemwide in OS X, on your Mac. 1. Go to Preferences. 2. Go to Java. 3. Go to Security. 4. Uncheck the Enable Java Content in the Browser option.
For more, see the original article at the link below.
How to disable Java on your Mac | Macworld