JavaScript is not Java

From MozillaZine Knowledge Base
Revision as of 12:45, 27 February 2005 by Mozcerize (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

A source of much confusion

JavaScript is a completely separate technology from Java. Unfortunately, Java was the ‘in thing’ back in the days when Netscape created a technology that was originally going to be called LiveScript, so they decided to rename it from LiveScript to JavaScript in the hope of catching the media’s interest.

A JavaScript script is a small series of commands that are often embedded in a webpage to do things like create fly-out menus, invoke pop-up windows, and validate form data.

Java is a fully-fledged programming language which is used to create complicated things like games. These programs can also be embedded in webpages, in which case they are called ‘applets’.

If you are having problems with JavaScript or Java in your Mozilla application, visit the pages below.

Related pages