aspose file tools*
The moose likes Java in General and the fly likes how to make executable program in java ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to make executable program in java ?" Watch "how to make executable program in java ?" New topic
Author

how to make executable program in java ?

naved momin
Ranch Hand

Joined: Jul 03, 2011
Posts: 692

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 .

The Only way to learn is ...........do!
Visit my blog http://inaved-momin.blogspot.com/
Manuel Petermann
Ranch Hand

Joined: Jul 19, 2011
Posts: 175

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


Please correct my English.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

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.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to make executable program in java ?