...but now java suddenly doesn't work
The two are entirely different, so if one works, it doesn't mean the other will.
It's also possible to disable them both for specific sites, so check you haven't done that where you didn't mean to.
Anyway, I hope that helps. (and I'm sorry if I've just repeated stuff you already knew...