can any one tell me how to make a executable file after completing java application i have make jar file but the when i checked those files they were actually a rar files which is runniing from command line not by double click , so how to make executable file so that by double clicking on it we can run it .
1. Which operation system are we talking about?
2. If you made an executable jar file and the mentioned behavior still exists something is not as it should be. In your case your rar packer might be the problem.
3. First link I found with google
First, jar files aren't RAR files, they're ZIP files -- not that it matters, really.
Just use your desktop (i.e., Windows) to associate the application "javaw" (javaw.exe) with files of type *.jar; then you can double-click on a jar file to execute it.