Java IS NOT Javascript

I can’t count the number of times during conversation where I mention that I am a Java programmer and the person on the other side of the conversation mentions they know a little Javascript. Before I can process a thought, my mouth opens with, “Javascript has nothing to do with Java“.

It is a bit difficult to not sound like a Java snob when responding to a statement that comes across that somehow Java and Javascript are related, but what else are you going to say? I am not going to lie about it.

The frequency that I hear this false correlation between Java and Javascript makes me wonder how the Javascript name came to be. If you google a little on this topic, I guess we can blame Netscape! I know, Netscape what?

That’s right folks let’s blame the Netscape browser. Back in the 1990’s Netscape was the prominent web browser. By very early 2000’s, it was just about gone. Maybe if you found an old PC running Win95 you might find Netscape installed.

Java Not Javascript

At any rate, sometime in 1995 Netscape had developed a scripting language that was named Mocha. I can already feel the comparison to the name Java. Mocha at some point became something called Livescript. Here it comes. Livescript then became Javascript.

I would love to know how Mocha turned into Java[script]? It’s my opinion that Netscape was trying to ride on the coattails of the promising Java programming language. When was Java officially release? History tells us Java was officially released in 1995.

So let’s bury this continually confusing topic of the false comparison of Java to Javascript. Java is a programming language and computing platform first released by Sun Microsystems in 1995. Javascript is a text-based programming language meant to run as part of a web-based application.

So let’s let the code and result speak for itself here.


public class JavaIsNotJavaScript {

	public static void main(String[] args) {

		String Java = "Java";
		String Javascript = "Javascript";
		if(Java.equals(Javascript)) {
			System.out.println("Java Is The Same as Javascript");
		else {
                        System.out.println("Java Is Not Javascript!!!");
			System.out.println("Java HAS NOTHING TO DO WITH Javascript!!!!!!");



And the definitive result in this ongoing debate….

Java Is Not Javascript!!!
Java HAS NOTHING TO DO WITH Javascript!!!!!!

One Comment

Add a Comment

Your email address will not be published. Required fields are marked *