This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Assuming you're running on Windows, a .BAT file is probably easiest. Put the command line you use to start your program in there, something like java -classpath ... MyProgram parameters .... Double-clicking a BAT file will run it.
There's a little more to it than that. You also need to make sure your JAR file is executable. To see how to do this, check out this thread. As mentioned above, this question has been asked a billion times here before. For future reference, you should use the Search Tool to see if someone has already posted your question previously. Be sure to search the "Java in General (beginner)" and "Java in General (intermediate)" forums as well as this one.
You are in luck, with JBuilderX Enterprise or Developer edition, you can create native exicutabls. You can find the option somewhere in the tool bar along witht the options to create jars and things.
JBuilder will then create a native exe file that you can just click on and run - you dont even need java installed on the pc.
PLEASE WATCH THIS VIDEO: <a href="http://www.glumbert.com/media/dolphin" target="_blank" rel="nofollow">http://www.glumbert.com/media/dolphin</a><br /> <br /><-- that video is no joke. Spread the word... this cant go on!!!<br /> <br />SCJP 1.4, SCBCD 1.3, SCWCD 1.4, SCMAD 1.0