what is jvm compiler or interpreter?
Java compiler compiles the source code into bytecode. JVM i.e. Java virtual machine is an interpreter which interprets the byte code. Bytecode make Java a platform independent language. Compiler reads entire code at a time.