Originally posted by Abhinaba Basu: Can any one please tell me what is JIT and what is its use? Can we use it with JVM.
It will better if you post any link of tutorials regarding that.
A Java compiler compiles source files (.java) to bytecode files (.class). Sun gives developers a free java compiler which is invoked with the 'javac' command.
A java interpreter is usually referred to as the Java Virtual Machine (or JVM). It reads and executes the bytecodes in the .class files (or in some collection of class files, like a .zip or .jar file). Sun also supplies a free version of the JVM which is invoked with the 'java' command.
Where is gets confusing is when people talk about a Just-In-Time compiler (or JIT compiler). This is actually part of a JVM.
Its purpose is to take the generic (i.e. cross-platform) bytecodes and compile them into more machine-specific instructions (allowing the program to run significantly faster)
. Even though it is referred to as a JIT 'compiler', it is part of the Virtual Machine.
I Hope I make clear you. More more information you can google.
The Best way to predict your future is to create it