Resolve the Java runtime prompt that prevents Adobe Illustrator from launching on macOS by installing the correct Java version.
Set the JAVA_HOME environment variable on macOS so Java-based tools and applications can find your JDK installation.
How to do various tricks in macOS.