What you could do, is build your jar file, then in the same directory include a /lib/ file with all of the .jars of the libraries you need to run it.
I'm trying to get it working this way first.
I started a new project, and imported the libraries I needed and built it. It made a jar file and in the same place as the jar file there is a folder called lib which contains jar files of the two libraries I use.
Yet despite the lib folder being in the same place as the jar file it still doesn't work. Nothing happens at all. If I alter the code so it contains no mentions of the other libraries, and build again the jar file works. Although it's then just an empty JFrame and nothing more. Any idea of why that is? I think I followed the netbeans tutorial to the letter. It does work if I just run it in the IDE.
As for the way you do things. There is no package to store command that I can see. Did you have to alter your projects ant file to have that option? I googled package to store and found this tutorial
http://java.sun.com/developer/technicalArticles/java_warehouse/single_jar/ which does alter the ant file. I think I need to at least get the simpler way working first though.
I'm really starting to get frustrated now. I've been at this all morning. I'm dying to show everyone my game. lol
Thanks for your help. I know it can be as frustrating trying to explain these things as it is to understand them.