Thanks for the link...
Now i am able to run the jar file in command prompt using the command "java -jar *.jar"
But when i double click on the *.jar file nothing is happening...
Whatis that i am missing??
Why to worry about things in which we dont have control, Why to worry about things in which we have control ! !
James Tharakan wrote:I have two option
1-java platform SE binary
2-java web starter lancher
now ,When i double click it is giving a error saying
could not find main class : filename .program will exit Is it error in the Manifest class ? ?
Don't know. What exactly have you got in the Manifest file? You need to use the exact format described here in the Java Tutorials, which Maneesh has already told you about. It might be easier to cheat and get an IDE to write the Manifest for you.
And there is another program you can use to launch the .jar namely javaw.
Try "javaw -jar MyJar.jar" in a batch file on Windows. See whether that works.
You're asking a complex question that is not easily answered without actually being the developer who wants to "create exe file."
This is an EXCELLENT article that I consider required reading before you go any further:
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop