永发信息网

Java JVM是什么意思?

答案:4  悬赏:20  手机版
解决时间 2021-02-15 20:29
  • 提问者网友:棒棒糖
  • 2021-02-15 11:10
Java JVM是什么意思?
最佳答案
  • 五星知识达人网友:舍身薄凉客
  • 2021-02-15 12:12
Java虚拟机 就是在你开发的应用程序和操作系统中间加的那层 你开发的应用程序面对的是Java虚拟机这一层 具体这一层对操作系统的接口是怎样实现的 你不用管 这样你编写的代码只需编译一次 就可以做到到处运行 意思是无论部署在Linux还是Windows等等系统上 你的代码都无需修改 就跟一个翻译一样 他能将汉语翻译成英语 也能将汉语翻译成日语 无论你要跟英国人交流还是骂小日本 都只要说汉语就行了 翻译见到英国人就会翻译成英语 见到日本人就会翻译成日语 明白否
全部回答
  • 1楼网友:玩家
  • 2021-02-15 14:36
英文好的话,可以看一看下面的话: The Java virtual machine is the cornerstone of the Java and Java 2 platforms. It is the component of the technology responsible for its hardware- and operating system- independence, the small size of its compiled code, and its ability to protect users from malicious programs. The Java virtual machine is an abstract computing machine. Like a real computing machine, it has an instruction set and manipulates various memory areas at run time. It is reasonably common to implement a programming language using a virtual machine; the best-known virtual machine may be the P-Code machine of UCSD Pascal. The first prototype implementation of the Java virtual machine, done at Sun Microsystems, Inc., emulated the Java virtual machine instruction set in software hosted by a handheld device that resembled a contemporary Personal Digital Assistant (PDA). Sun's current Java virtual machine implementations, components of its JavaTM 2 SDK and JavaTM 2 Runtime Environment products, emulate the Java virtual machine on Win32 and Solaris hosts in much more sophisticated ways. However, the Java virtual machine does not assume any particular implementation technology, host hardware, or host operating system. It is not inherently interpreted, but can just as well be implemented by compiling its instruction set to that of a silicon CPU. It may also be implemented in microcode or directly in silicon. The Java virtual machine knows nothing of the Java programming language, only of a particular binary format, the class file format. A class file contains Java virtual machine instructions (or bytecodes) and a symbol table, as well as other ancillary information. For the sake of security, the Java virtual machine imposes strong format and structural constraints on the code in a class file. However, any language with functionality that can be expressed in terms of a valid class file can be hosted by the Java virtual machine. Attracted by a generally available, machine-independent platform, implementors of other languages are turning to the Java virtual machine as a delivery vehicle for their languages.
  • 2楼网友:酒醒三更
  • 2021-02-15 13:47
Java Virtual Machine java虚拟机 是java程序的字节码的运行环境 据我所知是使用c/c++开发的 是java跨平台运行的必要
  • 3楼网友:摆渡翁
  • 2021-02-15 13:42
虚拟机
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯