We know that the Apex syntax is very similar to Java. I have observed that on some occasions, while running some Apex code, you may get a Java exception.
I assume that Apex runs on Java. But my question is: does Apex has its own runtime (presumably built on Java), or is the Apex source code transpiled into Java and then run in a JVM?
Also, is there any documentation on this?