Facebook uses some Java code but that doesn't mean you need to actually have the runtime installed in your browser since the browser already has built-in Java components to support this feature. Try to reinstall your browser or switch to another one.