Java specification

匿名 (未验证) 提交于 2019-12-03 03:03:02

问题:

Java JDK or JRE or both are specifications? Can anyone quote some relevant implementations?

回答1:

The JDK (Java Developer Kit) and JRE (Java Runtime Environment) are (in part) both implementations of the Java Language Specification and The Java Virtual Machine Specification. JRE and JDK may or may not refer to the Sun JRE and Sun JDK depending on context. You can see this list of JVMs (Java Virtual Machines). There are also third-party java compilers, the most popular being ecj and gcj.



回答2:

JDK means Java Development Kit. it provides you a tool or the files , key words , tokens or java extensions which helps to make a java program, its provide java tool to write java program or another Hand JRE that means Java Run-Time Environment which helps your OS to understand that what is going to be Run , in short if we says that JRE is same as OS, that provide an environment to execute java program .



回答3:

JDK is Java Development Kit, a toolset used to write Java programs. JRE is Java Runtime Environment, the virtual machine that executes Java bytecode. Naturally the Sun implementations of both are widely used



回答4:

JRE definition from java.com:

The Java Runtime Environment (JRE) is what you get when you download Java software. The JRE consists of the Java Virtual Machine (JVM), Java platform core classes, and supporting Java platform libraries. The JRE is the runtime portion of Java software, which is all you need to run it in your Web browser.

And here is an article from wikipedia about what is JDK



文章来源: Java specification
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!