Launch Configuration identifies which program should be exported.įind the one that runs the class containing your main() method.Įxport Destination is the name and location of the JAR file you want to generate. In Eclipse, select File → Export, then Java → Runnable JAR File. Eclipse can also export your program as a “runnable JAR file” that contains all the code in a single file.