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\
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!!
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.