Results 1 to 1 of 1

Thread: Creating Custom URI - Windows 7

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2009
    Posts
    1,103

    Unhappy 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:

    Code:
    java -jar demo.jar
    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
    Code:
    DemoStart:
    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.
    Last edited by gautamshaw; Oct 1st, 2014 at 10:45 PM.

    If you find my reply helpful , then rate it

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width