Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

what is jvm jdk and jre

JVM:
1.	JVM is an abstract machine. 
    Because it doesn't physically exist.
2.	It is a very important part of both JDK
     and JRE because it is inbuilt in both. 
3.	Whatever Java program we want to run, goes into JVM. 
4.	And JVM is responsible for loading,
    verifying and executing the java program 
    line by line hence it is also known as interpreter.
    
The Java Development Kit (JDK) is a software development 
environment used for developing Java applications. 
It includes:
	Java Virtual Machine, 
	Java Runtime Environment,
	Loader, 
	Java compiler, 
	Documentation generator 
	Archiver (jar), 
	Other tools needed in Java development.
    
 Java Runtime Environment :
	It physically exists. 
	The Java Runtime Environment provides
    the minimum requirements such as libraries
    and Class Loader for executing a 
    Java application on JVM. 
	It consists of the Java Virtual Machine
    core classes, and supporting files.    
Comment

Explain JDK, JRE and JVM?

JDK is a software development kit whereas JRE is a software bundle that allows
Java program to run, whereas JVM is an environment for executing bytecode.
The full form of JDK is Java Development Kit, while the full form of JRE is Java
Runtime Environment, while the full form of JVM is Java Virtual Machine.
Comment

JDK JRE JVM

Java Virtual Machine: JVM is an abstract machine. 
It actually runs by Java code. Most people know Java with this slogan 
"Write once and run everywhere' This slogan is because of JVM. 
• Java Runtime Environment : JRE is what we need to run a Java program 
and containsset of libraries and other files that JVM uses at run time. 
JRE = JVM + Library Classes 
• Java Development Kit : JDK is what we need to compile Java source code 
and contains JRE, development tools. JDK = JRE + Development tools
Comment

PREVIOUS NEXT
Code Example
Java :: single linked list in java 
Java :: java array merge 
Java :: java bogo sort 
Java :: how to make a button disapear on click in javafx 
Java :: arraylist to primitive array 
Java :: boolean operators in java 
Java :: String Reverse Program in Java. 
Java :: how to get the memory location of an object in java 
Java :: java local function 
Java :: array de meses java 
Java :: java add element to map 
Java :: can a java class have more than 108 constructors 
Java :: android press back 2 times to exit 
Java :: transparent border of jtextfield in java 
Java :: de caracter a string en java 
Java :: t implements comparable 
Java :: UPLOAD TEXTFILE USING CYPERTEXT USING JAVA 
Java :: maths.random in Java 
Java :: what is a package in java 
Java :: 1 elemenet array java 
Java :: array of arraylist in java 
Java :: math class in java 
Java :: find first and last position of element in sorted array 
Java :: limit decimals java 
Java :: search in rotated sorted array leetcode 
Java :: super class tostring java 
Java :: java create a string 
Java :: How to perform in-order traversal of a binary tree? 
Java :: Java Exception handling using try...catch 
Java :: interface declaration in java 
ADD CONTENT
Topic
Content
Source link
Name
9+1 =