How to combine external libraries into a single jar file with Netbeans

preview_player
Показать описание
When netbeans compiles a jar file that uses external libraries it puts them into a libs folder with your output jar. This video demonstrates a simple, manual, method of combining the library jars and program jar into a single jar file for easy distribution.
Рекомендации по теме
Комментарии
Автор

No way!, it worked, been on this all night messing about with different ideas, and nothing worked.

Thanks!

colinjava
Автор

damn, just that easy, i wass seeing another options and i was about to give up, you save me a lot lot of work

churruminohn
Автор

Thanks! Still looking the Shift-F11 way of doing it in NetBeans though. I have many dependent jars.

FabioKasper
Автор

Someone should create a NetBeans plug-in for this!

justjules