Java vs JavaScript

Java vs JavaScript

Java is an OOP programming language and written in Integrated Development Environment(IDE) like ECLIPSE however Java Script is an OOP scripting language and does not require any IDE. Java is class based but Java script is not. Java code needs compiling on IDE but JavaScript code does not. Java script is extensively used in World Wide Web apart from HTML and CSS. Java creates applications that run in a virtual machine or browser while JavaScript code is run on a browser only. JavaScript uses much smaller, easier and simpler set of commands than Java. Java is more rigid and complex.