Please use the Oracle JDK 8u202. That’s what we use and support.
https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html
OpenJDK and more recent JDK versions will be supported later this year. During the development of NAP 8.