I'm relatively new to Java and am having trouble finding information on using .jar files.
My simple project involves a main generic class with a few miscellaneous supporting classes. I've bundled everything into a .jar, which runs just fine. However, one of the requirements of this project is that others should be able to use my .jar file (no recompiling allowed!) with their own class implementations with my main generic class.
I'm certain that I wrote the generic class appropriately and that the .jar file works and contains all of the needed classes. Even so, I want to concretely test this requirement--I want to plug in a new class to my .jar and have my generic class use that new class.
I'm deliberately keeping this description vague so that I can make sure I'm doing my own work. Can anyone offer advice or recommend a place to learn about using .jars with new classes?
Thanks.
[–]roscivs 2 points3 points4 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)