Does unreal require specific jdk,ndk etc?

I cannot build for android using latest jdk (ver9 or 10) in 4.18.2. I have to use jdk 1.8. Is anyone else having same problem?