Why is Javascript called Javascript, if it has nothing to do with Java?

Why is JavaScript called JavaScript, since it has nothing to do with Java?

  • Since JavaScript is not derived from Java, why does it have "Java" in the name?

  • Answer:

    From an http://www.infoworld.com/d/developer-world/javascript-creator-ponders-past-future-704 made to its creator http://en.wikipedia.org/wiki/Brendan_Eich: InfoWorld: As I understand it, JavaScript started out as Mocha, then became LiveScript and then became JavaScript when Netscape and Sun got together. But it actually has nothing to do with Java or not much to do with it, correct? Eich: That’s right. It was all within six months from May till December (1995) that it was Mocha and then LiveScript. And then in early December, Netscape and Sun did a license agreement and it became JavaScript. And the idea was to make it a complementary scripting language to go with Java, with the compiled language.

Matthew at Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

JavaScript, was originally named Mocha, later it was renamed to LiveScript, and then to JavaScript. The LiveScript to JavaScript name change came because Netscape and Sun did a license agreement. The language was then submitted for standarization to the http://www.ecma-international.org/ Organization. By that time, Netscape didn't allow the use of the "JavaScript" name, so the standarized language is named http://www.ecmascript.org/. JavaScript isn't actually an open name. Now it's a http://www.sun.com/suntrademarks/#J of Sun (now Oracle). There still a lot of confusion, some people still think that JavaScript, JScript, and ECMAScript are three different languages. ECMAScript is the "standards" name for the language. JavaScript is technically a "dialect" of ECMAScript, the Mozilla Foundation can use "JavaScript" as the name of their implementations (currently present on the https://developer.mozilla.org/en/Rhino and https://developer.mozilla.org/en/SpiderMonkey engines). In the early days, Microsoft decided also to do what Netscape was doing on their own browser, and they developed http://msdn.microsoft.com/en-us/library/hbxc2t98%28VS.85%29.aspx, which is also an ECMAScript dialect, but was named in this way to avoid trademark issues.

CMS

Java is to Javascript what Car is to Carpet. "The language's name is the result of a co-marketing deal between Netscape and Sun, in exchange for Netscape bundling Sun's Java runtime with their then-dominant browser." - http://en.wikipedia.org/wiki/JavaScript#History

Jonathan Sampson

It was originally called Mocha, renamed to LiveScript, and then renamed to JavaScript. JavaScript itself is a trademark of Sun Microsystems -- the official standard is just called ECMAScript. Further confusing the matter, Microsoft has decided to call their version JScript. JScript is not at all related to J++, a Microsoft-implemented Java whose name undoubtedly is designed to cause confusion with C++.

Michael Greene

The project was originally called Mocha, then renamed to LiveScript, and finally to JavaScript when Netscape and Sun did a license agreement. The idea at the time was to make it a scripting language complimentary to Java. http://www.infoworld.com/d/developer-world/javascript-creator-ponders-past-future-704.

Annath

Vaishak Suresh

It was a marketing ploy cooked up by Netscape since Java was the big buzz word at the time. Originally it was called LiveScript. Which was probably a better name in hindsight.

Darrell Brogdon

We were obsessed with naming things after coffee in the 90's. I know... what were we thinking?!

Joseph Silvashy

The language has similarities to C-adjecents to which Java counts aswell. It was first named Mocha but later renamed to LiveScript and finally to JavaScript due to marketing reasons. To accomodate the Java trend during that time there was an interface between LiveScript and Java called LiveConnect. This connection was intented to be expressed with the new name "JavaScript".

Aurril

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.