![]() Q: What is the difference between the source code found in the OpenJDK repository, and the code you use to build the Oracle JDK?Ī: It is very close - our build process for Oracle JDK releases builds on OpenJDK 7 by adding just a couple of pieces, like the deployment code, which includes Oracle's implementation of the Java Plugin and Java WebStart, as well as some closed source third party components like a graphics rasterizer, some open source third party components, like Rhino, and a few bits and pieces here and there, like additional documentation or third party fonts. There is almost no difference between the Oracle JDK and the OpenJDK. ![]() OpenJDK is an open-source implementation of the JDK and the base for the Oracle JDK. Note that Oracle is not the only one to provide JDKs. The JDK is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications. The JRE does not contain tools and utilities such as compilers or debuggers for developing applets and applications. It is also the foundation for the technologies in the Java 2 Platform, Enterprise Edition (J2EE) for enterprise software development and deployment. In addition, two key deployment technologies are part of the JRE: Java Plug-in, which enables applets to run in popular browsers and Java Web Start, which deploys standalone applications over a network. The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. To explain the difference between JDK and JRE, the best is to read the Oracle documentation and consult the diagram: Indeed, there are specific implementations of the JVM for different systems (Windows, Linux, macOS, see the Wikipedia list), the aim is that with the same bytecodes they all give the same results. It's also the entity that allows Java to be a "portable language" ( write once, run anywhere). The JVM doesn't understand Java source code that's why you need compile your *.java files to obtain *.class files that contain the bytecodes understood by the JVM. We should note that before this long-running project, there were JDK Release Projects that released one feature and were then discontinued.The Java Virtual Machine (JVM) is the virtual machine that runs the Java bytecodes. And, just like for Oracle, the JDK Project will also deliver new feature releases every six months. Initially, it was based only on the JDK 7, but since Java 10, the open-source reference implementation of the Java SE platform is the responsibility of the JDK Project. We should emphasize that OpenJDK is an official reference implementation of a Java Standard Edition since version SE 7. Note: the versions in italics are no longer supported. Let's take a look at the Java SE history: Oracle strongly recommends using the term JDK to refer to the Java SE (Standard Edition) Development Kit (there are also Enterprise Edition and Micro Edition platforms). It's thus named because it contains more tools than the standalone JRE, as well as the other components needed for developing Java applications. It contains a complete Java Runtime Environment, a so-called private runtime. JDK (Java Development Kit) is a software development environment used in Java platform programming.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |