Building ClassPath variable in Manifest file with Eclipse
问题 Is there a way for Eclipse to output all the Jars I would like to define on my ClassPath variable in the Manifest when exporting a project as a jar? I would like to be able to just click on all the jars I need my project to depend on, and then have Eclipse output it all like: ClassPath: . /lib/somejar.jar /lib/otherjar.jar Thanks 回答1: Yes, there is: Eclipse > File > Export > Java > Runnable JAR File > "Copy required libraries into a sub-folder next to the generated JAR" . It will create a