JavaScript is not Java
In the late 1990s, the originator of the JavaScript scripting language wanted to ride the coattails of the massive popularity of the Java programming language, so they gave it a catchy name JavaScript. However, when they made this decision, they also introduced a lot of confusion given the similarity of the two names. To clarify, the full-featured Java programming language isn’t a scripting language on the Web. Java is a descendant of the C and C++ programming languages. Programmers can create Java applications that can run on Windows, Macintosh, Linux, and other computer platforms:
with the famous tag:
"write once run everywhere "
On the client side, Java is used to create applets (small programs that download over the Net and run inside Web browsers). Because Java is designed to be cross platform, these applets should run identically on any Java-enabled browser. On the server side, Java is used to create many Web-based applications
