You said you've updated Java 5, that's why I pointed out the fact that those two things have nothing to do with each other. The Javascript interpreter comes with your browser, not with the Java installation.
http://en.wikipedia.org/wiki/JavaScriptJavaScript
Not to be confused with Java (programming language) or Java (software platform).