I am using JDK1.6. i need to create executable jar file. Do i need any IDE or its possible with jdk itself? If jdk can do it, how can i create executable jar file of my program.
Printable View
I am using JDK1.6. i need to create executable jar file. Do i need any IDE or its possible with jdk itself? If jdk can do it, how can i create executable jar file of my program.
Make sure you have a manifest file in your jar file containing a main class element in it pointing to your main class.
Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
Setting an Application's Entry Point (The Java™ Tutorials > Deployment > Packaging Programs in JAR Files)
// Json