They don’t need to use oracle JRE. Oracle has fully open-sourced the JRE under GPL (unlike Sun).
If an app developer wants to use a version of the JDK other than that freely supplied by Oracle at https://openjdk.java.net/ , they can distribute AdoptOpenJDK, Apache Corretto, or any of the many other openjdk distributions.