Java compiles to its own bytecode ahead of time. The standard JVM also makes use of JIT to compile hot code paths to machine code.
Python compiles to its own bytecode, but only when a script is first interpreted.
Haxe compiles to many different source code languages ahead of time, including C++, Python, Java, JavaScript, and C#. It also compiles to a custom "Neko VM" bytecode.
So, "compiling" isn't necessarily ahead of time, depending on what level of "compilation" you're talking about.