Three things are necessary to compile and run Java program, so let us know about these three things in detail :
- Java Development Kit ( JDK ).
- Java Runtime Environment (JRE ).
- Java Virtual Machine ( JVM ).
1. Java Development Kit :
JDK's full from Java Development Kit, as its name suggests, is Java's development Kit, without installing it, you can not run Java's program in any computer system. JDK is a software that needs to be installed in the system. This technology was created to develop.
• There are many things under JDK such that :
- Java Compiler.
- Java Interpreter.
- Java Debugging Tools.
- Java Runtime Environment.
After installing Java development kit, you can compile, run and execute your program by giving javac command to command prompt (Cmd).
You can download and install Java Development Kit from www.oracle.com website.
2. Java Runtime Environment :
JRE's full name is Java Runtime Environment, which was developed by Sun-MycroSystem. This is a software to run a Java program that contains the library and all other files used by the JVM program to execute. JRE is a part of JDK. JRE is also called a runtime. JRE was designed to develop application forms.
JRE maintains the library of the class and all other brothers who use to program Java program. The JRE also keeps JVM in control.
If you want to run Java program, you will have to install JRE in your computer system because it is a library in which all Java files have been created.
3. Java Virtual Machine :
JVM's full name is Java Virtual Machine. This is a type of virtual machine that provides a Runtime Environment. Java Virtual Machine compile and execute the program.
JVM works in JDK and JRE seeds. It is compiled by programmer by compiling source code created bytecode and byte code. JVM contains an interpreter that executes the byte code and produces the output.
Java creates a byte code by compiling the program program by comiler and generates the output by executing that byte code.
The Java Virtual Machine platform is independent. This means that it can be easily used on any computer system, hence it is called platform independent.
I have to say this about domain authority. Please do not hesitate to ask and suggest comments in comments.
Like this post ! If this topic is useful for you then do not forget to Share with your friends on Facebook, WhatsApp Twitter and Google Plus etc.
If you find Topic useful in this post, please share it with your friends and colleagues on Facebook, Twitter, whatsapp and Google Plus.
Thank You !
Thank You !
Note - Fore more Topics are available in www.kptechsolution.com.
0 Comments