An interesting fact is that JavaScript really has nothing to do with Java. They paid Sun $5 million to license the word "Java", because it was an extremely popular language at the time.
And don't I as a Java developer hate the people who made that decision . TO THIS DAY it confuses people (often in HR) that they're not the same language.