How to create a jar with external libraries included in Eclipse?

后端 未结 8 1585
北恋
北恋 2020-11-22 10:46

I am done with the project which connects to database (MySQL). Now I want to export the project as jar. But I don\'t know how to include its external dependencies? Is there

8条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-22 11:17

    You could use the Export->Java->Runnable Jar to create a jar that includes its dependencies

    Alternatively, you could use the fatjar eclipse plugin as well to bundle jars together

提交回复
热议问题