JavaScript is a completely different language, and apart from using similar syntax and having copied some names as also used in Java, it has nothing to do with Java. (JavaScript runs not in the Java virtual machine, nor does it require Java to be installed.)
I've never liked Java as a language, so I might not have the most neutral opinion on it. Java was hyped as being "the next big thing" for a long while, so there are lots of people and companies that have invested time and money in Java programming skills. Android programs are all written in Java (running in the Dalvik virtual machine), so it is unlikely to go away easily. You can track the programming language trends here:
http://www.tiobe.com/index.php/content/ ... index.html. We can but hope that Java, Flash, and other such horrible languages go away eventually.