Quote:
Originally Posted by byteit101
Ok, how would one make a jar/zip/dll/whateverstaticlibrarysarecalledinjava to house multiple classes in netbeans then? I'm going for the fewest files possible
|
JAR - Java Archive. Really it's just a .zip file with a different file extension. It just contains all your compiled classes (same as .a libraries do your compiled objects on *nix). In concept, although, you also need a manifest file describing it's contents. Google `make java jar' for a list of tutorials, I can't personally recommend any of them.
Once you've got you're JAR file made, to `link' your program against it (in NetBeans, anyway) right-click on your project, select properties. From that window select the ``Java Sources Classpath'' category. You should see where the WPILIBJ JAR is already added. Click ``
Add JAR/Folder...'', and find your jar.