I run my java program in command linewith this statement
java myclass -a filetype.txt
But I want to run my program with right-click on a file with manipulating shell registry, but i don't what should write in shell default value
e.g for adding an option right-click to run with command prompt in windows, I set the default value with C:\Windows\System32\cmd.exe
but don't know how can run my java program with a simple right click.