There doesn't even seem to be the option in Safari. And while the Java plugin is installed on Firefox, it doesn't work there either, which makes me think it might be a system-wide issue. I do have Eclipse and a few other Java applications on my computer, and they all work fine.
I looked all over the place, and I found out that Java should be an option in the preferences window in Safari, but it's not there:
java -version
in Terminal, which lead to a diskimage of most recent version of the Java Runtime Environment being downloaded (after prompting me to do it). Afterwards I just mounted and installed it.