How can I get an executable file of a Java program? [duplicate]
Possible Duplicate: How can I convert my java program to an .exe file ? I'm trying to export a program written in Java 6 to a JAR file. My project contains one Java library from the Internet and some Java source files. When I create the JAR file, the classpath should be set by default and the end-user should be able to run the project directly from either the command prompt or some other source. My goal is to export everything to a JAR file, if that's possible. Also, the program output should be given at the command prompt. How can I export my program in this way? You need to write a META-INF