I have installed JRE 1.7 in my system and no JDK and when I wrote a program in eclipse, eclipse is still able to compile it and run it. As per my knowledge, compiler is available in JDK and interpreter is available in JRE. Interpreter will take .class files. But what about .java files?
Is it because of JIT compiler which is available in JVM?