Android doesn’t follow the Oracle Java though, right. So all these new features are just not there, right
Not yet, I believe they currently support everything (or nearly everything) up to Java 11.
The compile-time features end up being supported. The runtime features (e.g., invokeDynamic) less so.
OTOH, Android would benefit from virtual threads, too, which is one of the reasons they've jumped feet-first on the Kotlin train (and Kotlin's coroutines are pretty well designed).
It uses their compiler javac. Then the class files get compiled into dex files for androids runtime.