bugs.java.com
JDK-8242283 - Java Issue Tracker
... JavaSoft\Java Runtime Environment' Error: could not find java.dll Error ... (For example, "C:\Program Files\java\jdk-11.0.6" does not exceed MAX_PATH) ...
... JavaSoft\Java Runtime Environment' Error: could not find java.dll Error ... (For example, "C:\Program Files\java\jdk-11.0.6" does not exceed MAX_PATH) ...
at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:49) Error: line (0) The compiler did not terminate normally. Exit code is 4.WORK AROUND The most likely cause of this problem is a corrupt jar file. However, it is also possible that the compiler runs out of memory.
AppTest.html FrameTest.html MyApplet.java Sample.html. If you OpenFrameTest.html and use the applet as I said, the exception occurs. The codes are attached