Skip to main content

Chapter 2 What is JDK, JVM and JRE Explain in Details

Java Development Tools :- Java software built in development tools की मदद से बनाया जाता है। आइये इन development tools के बारे में जानने का प्रयास करते है।

  • JVM (Java Virtual Machine) :- जैसा की आप जानते है की जब आप किसी java program को compile करते है तो वो पहले byte code में convert होता है। इसके बाद वो byte code machine code में convert किया जाता है। JVM एक environment या machine होती है जो byte code को machine code में convert करती है। ये JRE के साथ मिलकर काम करती है |
  • JDK (Java Development Kit) :- JDK एक environment होता है जिसमे आप कोई भी java program क्रिएट कर सकते है और उसको execute करवा सकते है JDK में JRE होता है जो किसी भी java program के execution के लिए responsible होता है।
  • JRE (Java Run-time Environment) :- JRE आपके program के execution के लिए responsible होता है JRE कुछ classes और libraries का group होता है जो एक साथ मिलकर program को execute होने के लिए environment create करते है।
  • JRE के 2 काम होते है। 

  • Program में main मेथड को ढूंढना 
  • Program का execution start करना।
Difference Between JVM, JRE and JDK
  • For better understanding and details knowledge of java it is necessary to know the difference between JVM, JRE and JDK.
JVM 
  • It stands for java virtual machine.
  • JVM is the Virtual Machine that runs on actual machine and executes java bytes code.
  • It is called a virtual Machine because it doesn't physically exist.
  • JVM provides at run time environment in which java byte code can be executed.
JRE 
JRE
  • It stands for java run time environment.
  • It provides run time environment for a java program.
  • It is combination of JVM and set of libraries.
  • The set of library is used by JVM at run time. 


JDK

  • It stands for java development kit.
  • It contains all the library which is used to developed and run a java application.
  • It is a combination of JRE and set of Development tool.
  • JDK



Comments

Popular posts from this blog

Assignment of ITA/ Information Technology and Application BCA- Technology369kk

Q1. What is  computer Explain basic computer architecture and Difference components.  2. Discuss the use of memory in computer system, Explain memory hierarchy  in details. 3. What is software? Explain difference types of software with explain. 4. Write short notes on the given:- (I) Internet. (II) LAN (Local area network ) (III) Search engine (IV) Web browser  Q 1.What is computer Explain basic computer architecture, Difference components of computer.   Computer :- Computer is defined as an electronic device that takes input data and instructions from the user and after processing them, it generates useful and desired output quickly.   A computer is designed to execute applications and provides a variety of solutions through integrated hardware and software components.                            It is fast and automatic device. It works with the help of programs and represents the d...

C++ and Java Practical All Questions Answers - BCA -Technology369kk

C++ and Java  In this post see most important questions for practical questions given by college all questions with answers . Guys I want to say that this is only for suggested post for your practical please request to you change same alphabets, words or anything  methods name and variables name because if you write all words same then this is copy paste for another peoples.  Used Topics:  Keywords, Variables, Condition Statements, Function , Array, Structure, Pointer.                           In OOPs, Class and Objects, Constructor, Poly morph, Encapsulation, Access Specifiers,                               Inheritance etc.  So, Without Time Lose Come to the Points, let's go start Now:        *************************************************************************  C++ 12 ...

Assignment of PMO (Principal of Management and Organization) - Technology369kk

 ** Assignment Of PMO ** Agenda: -  4 Questions discuss in this post. Question 1. Write a d etails note on selection why it Called. negative process.  Question 2. Write a details note on 'span of control. Question 3. Planning is an essential process, do you agree ? Discuss  Question 4. Write a note on management function. Q 1. Write a d etails note on selection why it called negative process.  Ans :-  Selection is the process of choosing the most suitable candidates out of the several candidates available.          Selection is a negative process because there may be more rejected then those selected in most of the candidates that is called selection is a negative process. → Selection process has the following steps:-  [ A .] Screening of applicants - Based on the screening of applicants only those candidates. It Called further process of selection. Who are found eligible for the job Standards of the the organization. [ B .] S...