Java has nothing to do with JavaScript.