View Full Version : Jvm

07-16-2009, 09:17 AM
What is JVM?

Philip M
07-16-2009, 09:30 AM
Google is your friend! Why are you asking this here?

A Java Virtual Machine (JVM) is a set of computer software programs and data structures that use a virtual machine model for the execution of other computer programs and scripts.

This is the JavaScript forum. Java and Javascript are entirely different programming languages, in spite of the confusingly similar names.

07-16-2009, 09:37 AM
What is JVM?

There's actually a Java/JSP forum, right here. You should post there. The virtual machine was designed to give Java the ability to run in different environments, on different operating systems. In fact, I think the inventor of Javascript, now CTO of Mozilla, Brendan Eich, was perhaps ironically involved in writing an early virtual machine (someone correct me if that's wrong).

However, since this multi-environment compatibility already done by browsers, the Javascript language has that problem solved for it, and doesn't need any hard-coded intermediate compilation. It's more flexible than Java, even though there are Java-types who seem to want to turn Javascript INTO Java. The whole classes-in-Javascript debate is actually ongoing, as I understand it.