packaging java application

后端 未结 3 1836
悲&欢浪女
悲&欢浪女 2021-01-19 17:22

I have a java application from which I build a jar that relies on many third party jars, what\'s the best/common way of packaging this application for end user distribution?

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-19 18:09

    The best way is to use a build tool like Maven2 or something similar, and use that to manage your dependencies and build a all-in-one package.

    Otherwise, you'd mostly be stuck with messing with manifest files. Although, IDEs like Eclipse or NetBeans may help you a bit with that.

提交回复
热议问题