Introduction of Java(JDK,JRE,JIT)
Father of Java
Father of java is James Gosling.
Java was conceived by James Gosling, Vikas Ghosle, Patrick Naughton, Chris Warth, Ed Frank and Mike Sheridan at sun microsystem,Inc in 1991.
About java
This language was earlier called Oak, but was renamed java.
The name Oak comes from Oak tree and because Oak name was already taken by other corporation, so they changed their name to java.
There are some drawbacks in conventional programming languages like in slowly compilation, no platform independency and more lot of things.
In an attempt to find such a solution ,Gosling and his team work on a platform independent language that could be used to produce code that would run on different paltform and with different cpu's, ,under differnet environments.This efforts of sun microsystems finally led to the creation of Java.
COMPONENTS OF JAVA
JDK(java development kit)
JDK provides development tools and runtime enviroment, hence using JDK we can develop, compile and execute new softwares and also we can modify existing software.
JIT is a part of JVM and JVM is a part of JRE is a part of JDK.
JRE(java runtime environment)
JRE only responsible to run or execute java application.We can say that JRE is a compiler which compiles .java file to .class file.
JVM(java virtual machine)
JVM is a interpreter, Actually it consist of JIT(just in time compiler).Just in time compiler is a combination of compiler and interpreter.Interpreter read one by one line and translate respective one by one line of code.Interpreter does not store line of code anywhere, it only read a line of code and handover to operating system and after execution first line it takes next line from interpreter and execute it, although when operating system executes it, JVM does not do any work, so our application execution become slow for that if we want to execute faster james gosling added concept on JIT in JVM.
#.BYTECODE:BYTECODE is a set of instructions that is designed to be executed by java runtime environment.
Comments
Post a Comment