This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I am developing my project with RMI. My project is Server monitoring System. I did my project. But I want to do EXE filr so any one can run double clicking on it. Any one can help me hoe can I do?
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