I need to launch my desktop java application from our website and I need to pass parameters to it.The desktop application will handle the parameters. I don't know how to implement it. I checked java web-start,But in that we need to download the .jnlp file everytime. So I'm avoiding java-web-start. I have seen this feature in skype, Gotomeeting etc.
Edit: As suggested by @Marged I created the custom URL handler in my application using java. Followed this link: Registering and using a custom java.net.URL protocol It's working if i register the URL handler Manually. Now I need to register the URL handler for my application programmaticalley using java.I need to register the URL handler with windows and Mac os. The code below is for windows I think.
How to run this code in java?Please help me..
HKEY_CLASSES_ROOT/
myprotocol/
(Default) "URL:myprotocol Protocol"
URL Protocol ""
shell/
open/
command/
(Default) "c:/users/MyApplication.exe"