This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
The JVM must have been written in something, that is better portable among several platforms, as Java was intended to be portable and to be ported to several platforms.
What would have been your choice?
If you have a backing JVM you can write (at least portions of the) compiler even in Java.
You can theoretically write a working compiler (maybe step by step) on one platform, and put to use the resulting compiler classes on the other platforms, if the JVMs are available there.