JavaScript is not Java: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
mNo edit summary
Line 10: Line 10:
===Related pages===
===Related pages===
* [[JavaScript]]
* [[JavaScript]]
* [[Firefox : FAQs : Install Java | Java]]
* [[Java]]

Revision as of 12:57, 27 February 2005

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