I have a button and when I click the button on the website, my Java application which I save it as an executable jar file will pop up. How should I do it? Is it possible to just use a href command or onClick command? But it doesn't seem right. Or do I need to play around with the server, as in this case I use Wamp as my server.
Hoping to get some suggestions from the team. Thanks!
Java already has a technology for doing this and is called java webstart.
This is what you are looking for : http://docs.oracle.com/javase/tutorial/deployment/webstart/
See an example here :-
http://docs.oracle.com/javase/tutorial/deployment/webstart/developing.html