Invoking "C:\Program Files\jEdit\jedit.exe" shows an error dialog: "This application requires a Java Runtime Environment 11"
Clicking OK in this dialog will open your browser at https://openjdk.java.net/install/
For Windows users, this currently suggests to visit https://jdk.java.net/ where there are binaries available in .zip format.
I can't see how I could configure the jEdit launcher to use my openjdk JVM, except by including it in the PATH, which I already tried (see below). Can you advise?
As there is no openjdk "installer", just a .zip which the user can extract anywhere, there is no registry key or default path which the launcher could use.
====== Environment ======
Windows 10, Version 1803
C:>java -version
openjdk version "15" 2020-09-15
OpenJDK Runtime Environment (build 15+36-1562)
OpenJDK 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
C:>where java
C:\Program Files\Java\jdk-15\bin\java.exe
C:>where javaw
C:\Program Files\Java\jdk-15\bin\javaw.exe
I've worked around this by creating a shortcut, pointing to "C:\Program Files\Java\jdk-15\bin\javaw.exe" -jar "C:\Program Files\jEdit\jedit.jar"