How to combine library with my jar?

前端 未结 8 842
再見小時候
再見小時候 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:24

    To include another jar in your jar, you might find jarjar useful.

    Executable jars just have a class defined as 'Main', if I'm not mistaken. This may be useful.

提交回复
热议问题