As shared in multiple places in this forum Java 11 OpenJDK does not allow to run jar files directly. (here)
Here is an easy workaround...
1. Run cmd with administrator privilege.
2. Type the following two commands:
ftype JARFile="c:\java\bin\javaw.exe" -jar --module-path c:\java\javafx\lib...