The statement "Java may no longer be used in the corporate environment without a commercial license." is not correct.
Oracle switched from "Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX" to "Oracle Technology Network License Agreement for Oracle Java SE" for its non-OpenJDK JDK and JRE builds.
However, the JREs bundled with yEd installers are either builds released under "Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX" or OpenJDK builds released under "GNU General Public License, version 2, with the Classpath Exception". Thus there are no license fees for using the JREs bundled with yEd installers. (The bundled Java 11/13/14/15 JREs specifically are Oracle OpenJDK builds.)
Disclaimer: I am not a laywer, I do not provide legal advice. Ultimately, it is up to you to make sure that you use software in accordance with its license terms.