What is the use of JDK

What is the use of JDK

Hi,

What is the use of JDK? Is JRE same as JDK?

Thanks

View Answers

September 20, 2020 at 5:53 PM

What is the use of JDK and why it?s so important?

The JDK stands for Java Development Kit which is a programming toolkit from Oracle for development and deployment of Java applications. The JDK is used to build Java applications. It comes with the tools for compiling the Java program. If you download and install JDK you will get Java development tool for compiling your program (using javac compiler) and Java runtime for running the program code(using java runtime).

No, java is used to run applications on the java platform as well as other languages. There are many different JVM models, the JRE is the most famous one.

Why is JDK used and what makes the version of java so different?

The JDK is tool form compiling your program and it also contains the runtime for running/testing your program. Java is developed in such a manner that it allows Java program to run across multiple platform. Once compiled Java programs can be run on different platform on the JVM installed on the host machine. There are different versions for each operating system platform. For example Java/JDK is available for Windows, Linux, Mac etc.. For running Java program on host platform supported Java must be installed and configured. For running Java program on Windows you need JRE for Windows, similarly for Linux you need JRE for Linux and so on. JDK and JRE is available for almost all the operating system and you can download it from Oracle or Open JDK home page.

How does the JRE work?

JRE is runtime for Java program which runs your code developed in Java programming language. JRE first reads your compiled Java program(.class file) then compiled it into machine code for the host machine. For example if you are running your code on Linux then JRE compile your .class file into machine code for Windows and then run on the Windows machine in runtime.

If you are running same program on Linux then JRE will convert your program to machine code for Linux before running it in Linux machine. These steps are done in runtime, due to this Java program runs little slow as compared to the programs developed in C or C++.

Thanks


September 20, 2020 at 6:03 PM

HI,

The JRE is included in all the released version of Oracle Java platform. Therefore you can use it to check when there are any security updates released for Java Platform and to check the installation process of the latest update released.

Check Java tutorials at:

Thanks









Related Tutorials/Questions & Answers:
What is the use of JDK
What is the use of JDK  Hi, What is the use of JDK? Is JRE same as JDK? Thanks   What is the use of JDK and why it?s so important... is the most famous one. Why is JDK used and what makes the version of java so
Interview Questions - What is JDK?
Interview Questions - What is JDK?  Hi, What is JDK? Thanks   Hi, The JDK or Java Development Kit is software development environment... (javadoc) For Java application development JDK must be installed on computer
Advertisements
What is the difference between a JDK and a JVM?
What is the difference between a JDK and a JVM?  Hi, What is the difference between a JDK and a JVM? Thanks,   Hi, JDK is stand... to compile your source files using a JVM. For more difference between JDK and JVM
What is difference between JDK,JRE and JVM?
What is difference between JDK,JRE and JVM?  Hi, As a beginner I... development. I have found the topics like JDK, JRE and JVM while searching the Java beginner material. What is difference between JDK,JRE and JVM? Explain me
what is the difference between jdk 1.4 and 1.5 and 1.6
what is the difference between jdk 1.4 and 1.5 and 1.6  what is the difference between jdk 1.4 and 1.5 and 1.6   Java 1.4 Features - assert keyword - Regular expressions - Exception chaining (allows an exception
jdk
jdk  which is the latest version of jdk and how can i get it to develope applications?   JDK 7 is the latest version. You can download jdk 7 from the given link: Download JDK 7
what is wrong in this program?I have netbeans 7.0 & jdk 7. please do corrections.
what is wrong in this program?I have netbeans 7.0 & jdk 7. please do corrections.  import java.io.*; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.util.List
jse and jdk
jse and jdk  SIR PLEASE TELL ME WHAT IS THE DIFFERENCE BETWEEN JDK AND JSE
Maven dependency for com.discord4j - stores-jdk version 3.1.6 is released. Learn to use stores-jdk version 3.1.6 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.1.6. Developer can use...; com.discord4j - stores-jdk version 3.1.6 Now the next step is to use...Maven dependency for  com.discord4j  - Version 3.1.6 of stores-jdk
Maven dependency for com.discord4j - stores-jdk version 3.2.0 is released. Learn to use stores-jdk version 3.2.0 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.2.0. Developer can use...; com.discord4j - stores-jdk version 3.2.0 Now the next step is to use...Maven dependency for  com.discord4j  - Version 3.2.0 of stores-jdk
Maven dependency for com.discord4j - stores-jdk version 3.1.2 is released. Learn to use stores-jdk version 3.1.2 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.1.2. Developer can use...: Now you are ready to use the  com.discord4j - stores-jdk version 3.1.2...Maven dependency for  com.discord4j  - Version 3.1.2 of stores-jdk
Maven dependency for com.discord4j - stores-jdk version 3.2.2 is released. Learn to use stores-jdk version 3.2.2 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.2.2. Developer can use...: Now you are ready to use the  com.discord4j - stores-jdk version 3.2.2...Maven dependency for  com.discord4j  - Version 3.2.2 of stores-jdk
Maven dependency for com.ealva - ealvalog-jdk version 0.5.4 is released. Learn to use ealvalog-jdk version 0.5.4 in Maven based Java projects
of  com.ealva - ealvalog-jdk library is 0.5.4. Developer can use... of com.ealva - ealvalog-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...;  com.ealva - ealvalog-jdk version 0.5.4 Now the next step is to use
Maven dependency for com.ealva - ealvalog-jdk version 0.5.1 is released. Learn to use ealvalog-jdk version 0.5.1 in Maven based Java projects
of  com.ealva - ealvalog-jdk library is 0.5.1. Developer can use... of com.ealva - ealvalog-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...;  com.ealva - ealvalog-jdk version 0.5.1 Now the next step is to use
Maven dependency for com.discord4j - stores-jdk version 3.1.7 is released. Learn to use stores-jdk version 3.1.7 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.1.7. Developer can use...; com.discord4j - stores-jdk version 3.1.7 Now the next step is to use...Maven dependency for  com.discord4j  - Version 3.1.7 of stores-jdk
Maven dependency for com.discord4j - stores-jdk version 3.1.8 is released. Learn to use stores-jdk version 3.1.8 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.1.8. Developer can use...; com.discord4j - stores-jdk version 3.1.8 Now the next step is to use...Maven dependency for  com.discord4j  - Version 3.1.8 of stores-jdk
Maven dependency for com.discord4j - stores-jdk version 3.2.1 is released. Learn to use stores-jdk version 3.2.1 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.2.1. Developer can use...; com.discord4j - stores-jdk version 3.2.1 Now the next step is to use...Maven dependency for  com.discord4j  - Version 3.2.1 of stores-jdk
Maven dependency for com.ealva - ealvalog-jdk version 0.3.0 is released. Learn to use ealvalog-jdk version 0.3.0 in Maven based Java projects
of  com.ealva - ealvalog-jdk library is 0.3.0. Developer can use... of com.ealva - ealvalog-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...;  com.ealva - ealvalog-jdk version 0.3.0 Now the next step is to use
Maven dependency for com.discord4j - stores-jdk version 3.1.5 is released. Learn to use stores-jdk version 3.1.5 in Maven based Java projects
of  com.discord4j - stores-jdk library is 3.1.5. Developer can use...: Now you are ready to use the  com.discord4j - stores-jdk version 3.1.5...Maven dependency for  com.discord4j  - Version 3.1.5 of stores-jdk
Maven dependency for com.ealva - ealvalog-jdk version 0.5.3 is released. Learn to use ealvalog-jdk version 0.5.3 in Maven based Java projects
of  com.ealva - ealvalog-jdk library is 0.5.3. Developer can use... of com.ealva - ealvalog-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...;  com.ealva - ealvalog-jdk version 0.5.3 Now the next step is to use
Maven dependency for com.ealva - ealvalog-jdk version 0.5.2 is released. Learn to use ealvalog-jdk version 0.5.2 in Maven based Java projects
of  com.ealva - ealvalog-jdk library is 0.5.2. Developer can use... of com.ealva - ealvalog-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...;  com.ealva - ealvalog-jdk version 0.5.2 Now the next step is to use
jdk 1.6 vs jdk 1.7
jdk 1.6 vs jdk 1.7  What is the difference between jdk 1.6 and 1.7 ?? Package structure and all??   Difference between jdk 1.6 and jdk 1.7.... Java DB is based on the open-source Apache Derby and is supported by Sun. 4)Jdk 6
What is Hibernate and what is its use?
What is Hibernate and what is its use?  Hi, What is Hibernate and what is its use? Thanks   Hi, Here is the details you asked? What...? What is Hibernate in Java? What is use of Hibernate? Hibernate is famous and one
What is Hibernate and what is its use?
What is Hibernate and what is its use?  Hi, What is Hibernate and what is its use? Thanks   Hi, Here is the details you asked? What...? What is Hibernate in Java? What is use of Hibernate? Hibernate is famous and one
Jdk 1.7
Jdk 1.7  How many class and packages are avilable in latest jdk 1.7 version
Maven dependency for com.ealva - ealvalog-jdk-android version 0.0.20 is released. Learn to use ealvalog-jdk-android version 0.0.20 in Maven based Java projects
Developer can use this version ( com.ealva - ealvalog-jdk-android version 0.0.20... - ealvalog-jdk-android version 0.0.20 Now the next step is to use the latest... are ready to use the  com.ealva - ealvalog-jdk-android version 0.0.20
Maven dependency for com.ealva - ealvalog-jdk-android version 0.5.0 is released. Learn to use ealvalog-jdk-android version 0.5.0 in Maven based Java projects
Developer can use this version ( com.ealva - ealvalog-jdk-android version 0.5.0...-jdk-android version 0.5.0 Now the next step is to use the latest dependency... to use the  com.ealva - ealvalog-jdk-android version 0.5.0 in your project
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.0 is released. Learn to use dubbo-serialization-jdk version 3.0.0 in Maven based Java projects
-serialization-jdk library is 3.0.0. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.0 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.20 is released. Learn to use dubbo-serialization-jdk version 2.7.20 in Maven based Java projects
-serialization-jdk library is 2.7.20. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.20 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.19 is released. Learn to use dubbo-serialization-jdk version 2.7.19 in Maven based Java projects
-serialization-jdk library is 2.7.19. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.19 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.17 is released. Learn to use dubbo-serialization-jdk version 2.7.17 in Maven based Java projects
-serialization-jdk library is 2.7.17. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.17 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.16 is released. Learn to use dubbo-serialization-jdk version 2.7.16 in Maven based Java projects
-serialization-jdk library is 2.7.16. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.16 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.15 is released. Learn to use dubbo-serialization-jdk version 2.7.15 in Maven based Java projects
-serialization-jdk library is 2.7.15. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.15 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.14 is released. Learn to use dubbo-serialization-jdk version 2.7.14 in Maven based Java projects
-serialization-jdk library is 2.7.14. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.14 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.13 is released. Learn to use dubbo-serialization-jdk version 2.7.13 in Maven based Java projects
-serialization-jdk library is 2.7.13. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.13 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.11 is released. Learn to use dubbo-serialization-jdk version 3.0.11 in Maven based Java projects
-serialization-jdk library is 3.0.11. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.11 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.9 is released. Learn to use dubbo-serialization-jdk version 3.0.9 in Maven based Java projects
-serialization-jdk library is 3.0.9. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.9 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.7 is released. Learn to use dubbo-serialization-jdk version 3.0.7 in Maven based Java projects
-serialization-jdk library is 3.0.7. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.7 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.6 is released. Learn to use dubbo-serialization-jdk version 3.0.6 in Maven based Java projects
-serialization-jdk library is 3.0.6. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.6 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.2.0-beta.2 is released. Learn to use dubbo-serialization-jdk version 3.2.0-beta.2 in Maven based Java projects
-serialization-jdk library is 3.2.0-beta.2. Developer can use this version... - dubbo-serialization-jdk in your Maven/Gradle project. Step 1: Create or use a Maven...: Now you are ready to use the  org.apache.dubbo - dubbo-serialization-jdk
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.1.4 is released. Learn to use dubbo-serialization-jdk version 3.1.4 in Maven based Java projects
-serialization-jdk library is 3.1.4. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.1.4 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.1.2 is released. Learn to use dubbo-serialization-jdk version 3.1.2 in Maven based Java projects
-serialization-jdk library is 3.1.2. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.1.2 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.1.0 is released. Learn to use dubbo-serialization-jdk version 3.1.0 in Maven based Java projects
-serialization-jdk library is 3.1.0. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.1.0 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.5 is released. Learn to use dubbo-serialization-jdk version 3.0.5 in Maven based Java projects
-serialization-jdk library is 3.0.5. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.5 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.4 is released. Learn to use dubbo-serialization-jdk version 3.0.4 in Maven based Java projects
-serialization-jdk library is 3.0.4. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.4 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 2.7.11 is released. Learn to use dubbo-serialization-jdk version 2.7.11 in Maven based Java projects
-serialization-jdk library is 2.7.11. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 2.7.11 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.3 is released. Learn to use dubbo-serialization-jdk version 3.0.3 in Maven based Java projects
-serialization-jdk library is 3.0.3. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.3 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.2.1 is released. Learn to use dubbo-serialization-jdk version 3.0.2.1 in Maven based Java projects
-serialization-jdk library is 3.0.2.1. Developer can use this version ( org.apache.dubbo... - dubbo-serialization-jdk version 3.0.2.1 Now the next step is to use the latest...-serialization-jdk released The developers of   org.apache.dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.2 is released. Learn to use dubbo-serialization-jdk version 3.0.2 in Maven based Java projects
-serialization-jdk library is 3.0.2. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.2 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo
Maven dependency for org.apache.dubbo - dubbo-serialization-jdk version 3.0.1 is released. Learn to use dubbo-serialization-jdk version 3.0.1 in Maven based Java projects
-serialization-jdk library is 3.0.1. Developer can use this version ( org.apache.dubbo...-serialization-jdk version 3.0.1 Now the next step is to use the latest dependency...-serialization-jdk released The developers of   org.apache.dubbo - dubbo

Ads