Javascript and Java are entirely different things , jfyi