I don't do this very often and keep forgetting how to do it.
So here is a note for the next time.
Installing Java for Firefox is not as easy on Linux as on some other operating systems. This is the process for a Debian based distribution like Lubuntu.