Is there away to right click any file in a file browser, go to open with, then select a jar as the program to open the file with? Does doing this pass an argument to the main(String[] args)?
Is there away to right click any file in a file browser, go to
Share
On Windows you may create the following batch file
java.exe -jar path/to/jar/jarfile.jar %*and use this file in “open file with”