LifeCycle of Java Program
&
Terminologies of JAVA
Byte Code which JVM converts
is non human the byte code to
readable machine
[Link] code(0,1)
[Link]
JAVAC Compiler JVM
JAVAC Compiler
And then Machine code executed by CPU
Basic Terminologies of Java
Java File-
The code we write in java in any editor with extension of .java called java file.
Lest say [Link] file.
Class File-
[Link] file compiled by JAVAC compiler converts it to [Link] file.
Basic Terminologies of Java
JVM-
JVM stands for Java Virtual Machine. It is a specification that provides a
runtime environment in which Java bytecode can be executed.
Main Task of JVM are-
● Loads the Code
● Verify the code
● Execute the code
● Provide Runtime Environment
Basic Terminologies of Java
JRE-
The Java Runtime Environment is a set of software tools which are used for
developing Java applications. It is used to provide the runtime environment.
JDK-
The Java Development Kit (JDK) is a software development environment which
is used to develop Java applications and applets. It physically exists. It
contains JRE + development tools.
Libraries
Development
JVM Tools Like
Java, JAVAC,
etc
Other files
JRE
JDK