I have downloaded the javac source code from here and I found that the it itself is written in java language. However, I was expecting that it was written in c/c++.
Anyway, how does this java compiler source code written in java compiled when there was no java compiler?
From here :
Besides the compiled bytecode is interpreted by JVM which is written in c++. From here: