In the answer Platform independence in Java ByteCode, it is said that Java Compiler is same across all the platforms. I do understand that.
My question is that why Java compiler is distributed as an .exe file (for windows) then? Why not as JVM bytecode to be executed by JRE. This way there wont be different version of the compiler for different platforms. I don't know if it is even possible?