Here's how you can see if you're running Java in OS X on your Mac.
1. Open a terminal window.
2. Type in the following command then hit Enter.
For more, see the original article at the link below.
How to disable Java on your Mac | Macworld