What is JavaScript?
Javascript is a lightweight scripting language originally developed by Netscape to add interactivity and power to web documents. It is purely client side, and runs completely on the client's browser and computer.
What is Java?
Java is a full-blown heavyweight object-oriented programming language developed by Sun Microsystems Inc. It is powerful, complex, and unfortunately, hard to master. Java programs need to be compiled before they can run. Your computer needs to work harder.
Are they similiar?
The only similarity between the two (other than the word "java") is that they both make something happen. Both will create great Web page events. Both can offer interaction between the user and your Web page.
What is the difference?
The main difference is Java is stand-alone and JavaScript is not. Java runs independent of the HTML document. The viewer must have Java installed on their computer or they will not be able to view the Java. Java needs to be compiled before it can run, while JavaScript does not.
Should I use them?
Using Java and JavaScripts on your page will increase the download time with Java being the longest. If your visitors are the "I'm in a hurry and want it right now or I'm leaving" type definitely do not use Java.