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

Ads









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.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.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.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.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... - ealvalog-jdk version 0.5.1 Now the next step is to use the latest dependency
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... - ealvalog-jdk version 0.5.2 Now the next step is to use the latest dependency
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... - ealvalog-jdk version 0.5.4 Now the next step is to use the latest dependency
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.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... - ealvalog-jdk version 0.5.3 Now the next step is to use the latest dependency
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.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
Jdk 1.7
Jdk 1.7  How many class and packages are avilable in latest jdk 1.7 version
How to download JDK 1.6?
Steps to download JDK 1.6 Video tutorial shows you the steps to download the JDK 1.6. The Java Development Kit 1.6 is old version of Java and if you are developing new application use the new version of Java. If you are working
Artifacts of jdk
List of Artifacts of jdk maven depenency
What is use of a abstract variable?
What is use of a abstract variable?   Hi, What is use of a abstract variable? thanks
What is use of a abstract variable?
What is use of a abstract variable?   Hi, What is use of a abstract variable? thanks
What is the use of Bluetooth technology
What is the use of Bluetooth technology  What is the use of Bluetooth technology?   Bluetooth technology is used for Wireless communication between equipment's
Java - JDK Tutorials
Java - JDK Tutorials   This is the list of JDK tutorials which will useful for the Java programmers. Here you will learn how to use the different features of Java in your programming. JDK is required to be installed on your
What is the use of Java?
What is the use of Java?  Hi, What is the use of Java programming Language? How Java is useful for creating applications? Thanks   Java.... You can check more details at What is the use of java?. Thanks
what is use of push in javascript
what is use of push in javascript  HI, What is push method is JavaScript? I want to know its use with example. What is use of push in javascript.... You can use the push method to add data into existing array. Check example
what is use of push in javascript
what is use of push in javascript  HI, What is push method is JavaScript? I want to know its use with example. What is use of push in javascript.... You can use the push method to add data into existing array. Check example
What is the use of Hibernate is used?
What is the use of Hibernate is used?  Hi, What is the use of the Hibernate framework? Thanks   Hello, Hibernate is the ORM framework which is used for saving, retrieving and querying the data from Java program

Ads