Can't enable Java for browser
I've got the same issue. Here's how I resolved it using Terminal commands:


Make yourself to root

sudo su -
Remove the existing JAVA Runtime (JRE) as well as JDK if any

rm -R /Library/Application\ Support/Oracle/

rm -R /Library/Oracle/

rm -R /Library/Java/

rm -R /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/

rm -R ~/Library/Application\ Support/Oracle/
Download and install the latest JAVA versions from http://www.oracle.com/technetwork/java/javase/downloads/index.html. You probably need the JRE only. In case local java software stopped working you'd need the JDK too.
Open the System Preferences of OS X, click on JAVA -> Security and activate "Enable Java content in browser"


The setting that prevented you from enabling Java content in your browser most probably is in /Library/Application\ Support/Oracle/.