No. On your desktop, right click on a file. The menu has some items. I want to add a new one, indipendently from the extension, and it is not the default application, and the app can not running.
The attached reg file adds a "Open JavaApp" to the contextmenu
Extract the reg-file from the zip and use RightClick on the REG file and choose Add (or whatever it is named in your system). Goal is to add it to your registry.
Note to edit the paths to match the correct ones on your system.
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\Open JavaApp]
[HKEY_CLASSES_ROOT\*\shell\Open JavaApp\command]
@="C:\\Java\\jdk-11.0.1\\bin\\java.exe --module-path C:\\Java\\jdk-11.0.1\\javafx\\lib --add-modules=javafx.controls,javafx.fxml,javafx.web -jar %1"