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?
Thanking You Yatin.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35232
7
posted
0
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.
This topic has been discussed under making executable JARs as well as Creating exe's using opensource tools.
Please do some searching before blindly posting it.
:roll:
Dean Fredericks
Ranch Hand
Joined: Dec 04, 2004
Posts: 60
posted
0
I see you are using JBuilderX.
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