Creating Custom URI - Windows 7
I am new to creating Custom URI Schemes and I am trying to launch an executable jar file using URI Schemes in a Windows 7 system..
For running this jar file from command prompt, I use this command:
For launching the same using the Custom URI Scheme, I created a ".reg" file with the below entry:
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\DemoStart]
"URL Protocol"=""
[HKEY_CLASSES_ROOT\DemoStart\shell]
[HKEY_CLASSES_ROOT\DemoStart\shell\open]
[HKEY_CLASSES_ROOT\DemoStart\shell\open\command]
@="java -jar C:\Users\John\Desktop\demo.jar"
But when I try to run this from IE using the Custom URI names nothing happens in the "Internet Explorer 9" browser. In "Firefox browser", a pop-up window for "Launch Application" appeared but on click of "Ok" button nothing happened.
Please guide me how to launch the executable JAR using this custom URI scheme.