How do I install java for Firefox in linux?
First install java as described in How do I install java for Firefox in linux?.
Then go to http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#On_Linux and follow the procedure described there.
Note that there are two files that need being linked in in the Mozilla plugins folder.