虚拟机在JAVA中就是JVM,是用来解释执行JAVA程序的,说得简单点,就是在计算机中模拟一种平台,这种平台可以完成某种特定的工作,在CASE语言中也有类似的虚拟机。前面有过这样的论题,你可以看一看

解决方案 »

  1.   

    A self-contained operating environment that behaves as if it is a separate computer. For example, Java applets run in a Java virtual machine (VM) that has no access to the host operating system. This design has two advantages: System Independence: A Java application will run the same in any Java VM, regardless of the hardware and software underlying the system. 
    Security: Because the VM has no contact with the operating system, there is little possibility of a Java program damaging other files or applications. 
      

  2.   

    java就是靠虚拟机来实现跨平台的,应用程序都建立在虚拟机上,而虚拟机是一个跨平台的标准,所以只要在不同平台下开发不同平台的虚拟机就可以让java程序跑起来了。