While the two have similar in names , both are two totally different programming languages. Java is a full featured, all purpose, programming language that is mainly used in server side, mobile development and also run in browsers. To compile java based programs you need JDK+JRE set up in your computer. Since java is pure object oriented programming language everything you do is under a class. It follows very strict typing and enforces casting of references.
- Java is an OOP programming language while Java Script is an OOP scripting language.