Home Java javaTutorial What does the java development package jdk contain?

What does the java development package jdk contain?

Apr 27, 2019 pm 05:41 PM
jdk


JDK: Java Development ToolKit (Java Development Tool Kit). JDK is the core of the entire JAVA, including the Java Runtime Environment (Java Runtime Envirnment), a bunch of Java tools (javac/java/jdb, etc.) and Java basic class libraries (that is, Java API including rt.jar).

What does the java development package jdk contain?

The most mainstream JDK is the JDK released by Sun. In addition to Sun, there are many companies and organizations that have developed their own JDK, such as foreign countries. IBM has developed its own JDK, and domestic Taobao has also developed its own JDK. Each organization develops its own JDK in order to improve in certain aspects to adapt to its own needs. For example, IBM's JDK is said to have the highest operating efficiency. Much higher than SUN's JDK. But no matter what, we still need to master the basic Sun JDK first.

JDK is a java development tool kit. There are six folders, some description files, and a src compressed file under its installation directory. The four folders bin, include, lib, and jre work, and demo and sample are some examples. It can be seen that JDK contains JRE, and JRE contains JVM.

What does the java development package jdk contain?

bin: The most important thing is the compiler (javac.exe)

include: java and Header file for JVM interaction

lib: class library

jre:java running environment (note: the bin, lib folders here and The bin and lib in jre are different)

In generalJDK is used for the development of java programs, while jre can only run classes without compiling functions.

JDK is provided for Java developers to use, which includes Java development tools, including JRE. So after installing the JDK, there is no need to install the JRE separately. The development tools include compilation tools (javac.exe) packaging tools (jar.exe), etc.

There is a jre directory under the JDK installation directory, which contains two folders bin and lib. Here you can It is believed that what is in bin is jvm, and what is in lib is the class library needed for jvm to work. The combination of jvm and lib is called jre.


The above is the detailed content of What does the java development package jdk contain?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

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

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to install Java on Windows 11 How to install Java on Windows 11 Apr 13, 2023 pm 09:22 PM

Despite the large number of applications that appear every once in a while, Java remains by far one of the most used and important programming languages. Many applications rely on Java on Windows operating systems, and updating it means improving performance by providing stability and security for Java applications to run safely. You can also install Java on Linux and macOS platforms. The only difference is the package/file for each platform. Now, with Windows 11, it’s time to download Java and in today’s article, we will take you through the simple steps to install it on your device. Which version of Java should I download? The Java version you downloaded

Does oracle database require jdk? Does oracle database require jdk? Jun 05, 2023 pm 05:06 PM

The oracle database requires jdk. The reasons are: 1. When using specific software or functions, other software or libraries included in the JDK are required; 2. Java JDK needs to be installed to run Java programs in the Oracle database; 3. JDK provides Develop and compile Java application functions; 4. Meet Oracle's requirements for Java functions to help implement and implement specific functions.

Analysis of JDK dynamic proxy examples in java Analysis of JDK dynamic proxy examples in java Apr 30, 2023 pm 01:16 PM

1. Explain that Java provides a dynamic proxy class Proxy. Proxy is not the class of what we call proxy objects, but provides a static method (newProxyInstance) to create proxy objects to obtain proxy objects. 2. Instance publicclassHelloWorld{publicstaticvoidmain(String[]args){//Get the proxy object ProxyFactoryfactory=newProxyFactory();SellTicketsproxyObject=factory.getProxyObject();proxyO

Deepin Linux system installation JDK tutorial Deepin Linux system installation JDK tutorial Feb 15, 2024 pm 12:36 PM

Deepin Linux system is a domestic operating system based on the Linux kernel. It has the characteristics of stability, security, and ease of use. In Deepin Linux system, installing JDK (Java Development Kit) is a necessary step for developing Java applications. This article will introduce in detail how to Install JDK in Deepin Linux system. Installation steps: Open the terminal of Deepin Linux system. Use the command line to download the JDK installation package. The command is as follows: ``shellsudoapt-getinstallopenjdk-11-jdk`` Wait for the download to complete and the system will automatically install the JDK. To verify whether the JDK is installed successfully, enter the following command: ```javaj

Where is the linux jdk directory? Where is the linux jdk directory? Mar 22, 2023 am 09:52 AM

The linux jdk directory is in the bin directory. The specific search method is: 1. Find the execution directory of javad through the "whereis java" command; 2. Find the link file through the execution file; 3. Through "ls -lrt /etc/alternatives/java" Just run the command to find the installation directory.

How to install jdk-jdk installation tutorial How to install jdk-jdk installation tutorial Mar 04, 2024 pm 05:10 PM

Recently, many friends have asked me how to install jdk. Next, let us learn all about how to install jdk. I hope it can help everyone. 1. First download the JDK installation file and enter the JDK installation interface, as shown in the figure. 2. Click the "Next" button to enter the JDK custom installation interface, as shown in the figure. 3. It is recommended to choose to install directly to the default directory and click the "Next" button to install, as shown in the figure. You can also click the "Change" button to select the installation directory yourself. 4. After the installation is completed, the interface will pop up and click the "Close" button, as shown in the figure. The above is all the tutorials on how to install jdk brought by the editor. I hope it can be helpful to everyone.

How to configure the jdk environment in Linux system How to configure the jdk environment in Linux system May 12, 2023 am 09:31 AM

The following steps are to deploy the jdk environment in the Linux system 1. Download the jdk installation package 2. Create a new installation jdk folder (/usr/local/java/jdk) cd /usr/localmkdir/usr/local/javalocal directory and create a new java directory cd /usr/local/javamkdir/usr/local/java/jdk Create a new jdk directory cd/usr/local/java/jdk3. Upload the jdk installation package to linux4. Unzip the jdk installation package. Decompression format: The name after the tarzxvf compressed package name can be just Enter an initial letter and use the Tab key

How to specify springboot external configuration file in multi-jdk environment How to specify springboot external configuration file in multi-jdk environment May 11, 2023 pm 04:01 PM

Problem description: When there are multiple jdk in the deployment environment, and the default jdk version is lower than jdk8. When we deploy springboot applications, we need to specify jdk as jdk8 or above. A problem will arise: the external configuration file of the springboot application cannot be loaded, and it will always use the default configuration file imported into the application jar. Problem Solving There are two ways to solve this problem, as follows: Add startup parameters --spring.config.additional-locationnohup/home/jdk1.8.0_251/bin/java-Xms256m-Xmx256m-j

See all articles