What is the relationship between JavaScript and Java?
In no way are JavaScript and Java related, except in their names, and even this relationship is tenuous: JavaScript was originally named LiveScript. It was created by Netscape to allow web pages to control Java applets but evolved into a tool for making tiny programs on websites like drop-down menus, pop-up windows, and other flashy things, while Java was created by Sun and is a general purpose programming language. Java is not limited to just the Internet, but small applets are seen on many websites. Java is also quite popular in designing applications for the PalmOS devices. It is said that JavaScript was just given a name similar to Java so that Netscape could gain popularity for the language. Java is a significantly more complex language than JavaScript.