Java specification

Java JDK or JRE or both are specifications? Can someone give some relevant implementations?

+4
source share
4 answers

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

+11
source

JDK stands for Java Development Kit. it provides you with a tool or files, keywords, tokens or java extensions that help create a java program, provide a Java tool to write a java program or other JF environment, which means a Java runtime that helps your OS understand that what will be launched, in short, if we say that the JRE is the same as the OSs that provide the environment for executing the Java program.

+1
source

JDK is a Java Development Kit, a set of tools used to write Java programs. JRE - Java Runtime Environment, a virtual machine executing Java bytecode. Naturally, the use of Sun both is widely used.

0
source

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), the Java platform of the core classes, and the support of the Java platform libraries. JRE is part of the Java software that you need to run it in your web browser.

And here is the Wikipedia article that JDK

0
source

Source: https://habr.com/ru/post/1306952/


All Articles