search
HomeJavaJavagetting StartedWhat are jdk, jre, and jvm? What's the connection?

What are jdk, jre, and jvm? What's the connection?

Jan 13, 2020 pm 05:10 PM
jdkjrejvmconnect

What are jdk, jre, and jvm? What's the connection?

JDK Introduction

JDK is the abbreviation of Java Development Kit and is a development tool kit for Java.

JDK: Java Development ToolKit (Java Development Tool Kit). JDK is the core of the entire JAVA, including Java Runtime Environment (JRE), Java tools (javac/java/jdb, etc.) and Java basic class libraries (i.e. Java API).

JRE Introduction

JRE is a Java runtime environment, not a development environment, so it does not include any development tools (such as compilers and debuggers), but is only for Users using Java programs.

JRE (Java Runtime Environment, Java runtime environment), including JVM standard implementation and Java core class library. JRE contains Java virtual machine (JVM), runtime class libraries and Java application launcher, which are necessary components to run Java programs. Through it, Java developers can release the programs they develop to users for use.

(Free learning video tutorial sharing: java video tutorial)

Introduction to JVM

JVM is Java Virtual Machine (Java The abbreviation of Virtual Machine), it is a fictitious computer that is implemented by simulating various computer functions on an actual computer.

JVM (Java Virtual Mechanal), Java virtual machine, is part of JRE. It is the core part of the entire Java cross-platform implementation. It is responsible for interpreting and executing bytecode files. It is a virtual computer that can run Java bytecode files. The JVM on all platforms provides the same interface to the compiler, and the compiler only needs to face the virtual machine, generate code that the virtual machine can recognize, and then be interpreted and executed by the virtual machine.

When you use the Java compiler to compile a Java program, platform-independent bytecode is generated, and these bytecodes are only for the JVM. The JVMs of different platforms are different, but they all provide the same interface. The JVM is a key part of the cross-platform nature of Java programs. As long as corresponding virtual machines are implemented for different platforms, the compiled Java bytecode can run on that platform.

JDK&JRE&JVM FAQ

1. What is the difference between JDK and JRE?

What are jdk, jre, and jvm? Whats the connection?

2. What is the relationship between JDK&JRE&JVM?

What are jdk, jre, and jvm? Whats the connection?

#The cross-platform principle of Java? How to achieve "write once, run many places"?

What are jdk, jre, and jvm? Whats the connection?

When you use the Java compiler to compile a Java program, platform-independent bytecode is generated, and these bytecodes are only for the JVM. The JVMs of different platforms are different, but they all provide the same interface. The JVM is a key part of the cross-platform nature of Java programs. As long as corresponding virtual machines are implemented for different platforms, the compiled Java bytecode can run on that platform.

Recommended related articles and tutorials: java quick start

The above is the detailed content of What are jdk, jre, and jvm? What's the connection?. For more information, please follow other related articles on the PHP Chinese website!

Statement
This article is reproduced at:CSDN. If there is any infringement, please contact admin@php.cn delete

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Atom editor mac version download

Atom editor mac version download

The most popular open source editor

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

mPDF

mPDF

mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function