What is the use of JDK

Ads
 

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 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
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 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
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
What is the use of data science?
What is the use of data science?  Hi, I am beginner in Data Science and machine learning field. I am searching for the tutorials to learn: What... so that I can learn the topic "What is the use of data science?"
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
What is the use of Hibernate Native SQL?
What is the use of Hibernate Native SQL?  What is the use of Hibernate Native SQL? How it is useful in database access programming using the Hibernate framework? Thanks   Hibernate Native query is used used to run SQL
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 use of method overloading and overriding?
What is use of method overloading and overriding?  Method overriding... write same method with different signatures.But I want to know what is the use of these concepts.how to use this type of polymorphism in real time? thanks
What is the use of Hibernate Framework in Java
What is the use of Hibernate Framework in Java  Hi, What is the use of Hibernate Framework in Java? When to use Hibernate framework in a Java application? Thanks   Hi, What is Hibernate? Hibernate is open source
What is the real use of Java Program
What is the real use of Java Program  Hi, I am complete beginner in programming. I want to learn Java and other programming technologies. I want to know more in Java programming. What is the real use of java program? Just
What is the real use of Java Program
What is the real use of Java Program  Hi, I am complete beginner in programming. I want to learn Java and other programming technologies. I want to know more in Java programming. What is the real use of java program? Just
What is the use of R Programming Language?
What is the use of R Programming Language?  Hi, Everyone is talking... will find many jobs of R Programming. So, why its so popular? What is the use of R... create r code and save into file with .r extension. Then use the r environment
What is use of big data analytics in healthcare?
What is use of big data analytics in healthcare?  Hi, Big Data is growing fast and many industries are adopting it. There are many jobs in the field of analytics. What is use of big data analytics in healthcare? Thanks
What is the use of Print or Echo Function in PHP?
What is the use of Print or Echo Function in PHP?  Hi, Can anyone explain what is the use of print or Echo function in PHP? Please provide online reference for this. Thanks,   Hi, Although the use of both Print
What is Java?
What is the use of Java
what is the use of clone() in real time scenario?
what is the use of clone() in real time scenario?  what is the use of clone() in real time scenario?   Hi Friend, Clone() method is used to create and return copy of the object. For more information, visit
what is the use of Hibernate Sessionfactory close() method?
what is the use of Hibernate Sessionfactory close() method?  hi, What is the use of of Hibernate Sessionfactory close() method? Thanks..   Hello, Close() method of Hibernate Sessionfactory destroys the SessionFactory
What is Angular and Why Use It?
AngularJS Tutorials: What is Angular and Why Use It? AngularJS is a widely popular JavaScript framework which is used for building wide variety of web apps, single page apps (SPA) mobile apps. As a JavaScript framework it has been
why we use ^ operator in sql, and what is the meaning of that operator?
why we use ^ operator in sql, and what is the meaning of that operator?  why we use ^ operator in sql, and what is the meaning of that operator
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
What do I need to do to use a MSSQL-Server with Web-Harvester?
What do I need to do to use a MSSQL-Server with Web-Harvester?  What do I need to do to use a MSSQL-Server with Web-Harvester

Ads