in my view, when we interpret a java class(java [classname]),the jvm
responsibility is to convert the .class file into .exe file and loads
into the ram and executes it and deletes the .exe file.
for converting .class to .exe jvm internally uses a compiler like
jit(just in time)
to load it into the ram pseudo interpreter is used by the jvm
internally.