Usually, Java is updated through Software Update. Apple provides the updates for Java. If you run Software Update and it tells you taht your system is up to date, then you're good to go. Check your browsers and make sure that Java is enabled in the preferences for your browser if Java isn't working.