Why is it so hard to do this in Java? If you want to have any kind of module system you need to be able to load jars dynamically. I'm told there's a way of doing it by writing your own ClassLoader
, but that's a lot of work for something that should (in my mind at least) be as easy as calling a method with a jar file as its argument.
Any suggestions for simple code that does this?