However, these versions may not be supported free-of-cost with patches after the successive version arrives. These are production-ready fully-tested releases.
Every six months a new version arrives, as discussed in this article. Oracle and the Java community have adopted a faster cadences for releases, a fashion known as the Release Train. Note that Java development has changed recently. Java 12, not yet released for production, runs on High Sierra as well. The implementations of Java 8, 9, 10, and 11 based on OpenJDK from vendors such as Azul Systems, Oracle, and AdoptOpenJDK run on macOS High Sierra and Mojave (and some older macOS as well).