gauravkv gupta wrote:Hi all,
I need to know how compilation is done in JAVA. Is it done by JVM.
That's a very broad question. For that kind of question,
you should SearchFirst(⇐click) and only post to a forum once you've done some research and have a more specific quesitons.
A couple of things to note though:
1) It's Java, not JAVA. It's not an acronym.
2) You'll need to be specific about what kind of compilation you're asking about. When people talking about compiling in a Java context, they usually mean compiling Java source code into byte code, which is done by a compiler, not by the JVM. However, another possible meaning for your question is about the JVM compiling byte code to native code during execution. For that you could start your research by reading up on "java hotspot".