Jump to content
GameDev.net Posting Guidelines (please read before posting)
For Beginners Forum FAQs (please read before posting)
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 20 January 2012 - 02:19 PM
Posted 20 January 2012 - 03:43 PM
stick it in a jar.
I've written a few classes in java which are useful in multiple projects. Unfortunately, without copy/pasting them I haven't been able to figure out how to use the classes in multiple projects.
In C++ I would just include the .h file and make sure the compiler knew where to look for it.
However, using Netbeans for my Java, I receive a "Package Folder Already Used in Project" message. How can I have just one source file but use it in multiple projects?
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.