How to combine library with my jar?

前端 未结 8 858
再見小時候
再見小時候 2020-12-01 17:38

Ok so i wrote a program that makes use of a 3rd party open source library and i want to package it with my program in a single jar. I\'m using netbeans 6.8 and everything I\

8条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-01 18:23

    If there are no licencing issues then the most preffered way is to unjar the actual jar and rejar it with your class files in it, to a new jar.

    You can simply use the jar cmd itself for this, no big deal!!

提交回复
热议问题