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:
Replace the path "c:\java\bin\javaw.exe" and "c:\java\javafx\lib" based on your installed java folder.
Cheers!
Here is an easy workaround...
1. Run cmd with administrator privilege.
2. Type the following two commands:
B4X:
ftype JARFile="c:\java\bin\javaw.exe" -jar --module-path c:\java\javafx\lib --add-modules javafx.controls "%1" %*"
assoc .jar=JARFile
Replace the path "c:\java\bin\javaw.exe" and "c:\java\javafx\lib" based on your installed java folder.
Cheers!
Last edited: