plugins - Java: Adding classes from external source to classpath -
So my point here is that I am creating a piece of software that is similar to a DOS command line. Except a jar file would like to add other commands, in which a command class is being expanded into a folder I have not tried to do anything. Here's what I have tried: Using the Reflections Library to add a jar file for classes while increasing the command class It has thrown many errors and did not find most sections in my jar. I think there is something to do with all the SomeClass $ 1.class stuff. Read again through each file in a jar and add it to the class I could not find any way to work for it because I just got to ZipEntry Iterations of can be added to the squares, such as URL. Adding a whole jar to classpath This was not a work because the program will not know the names of these sections, therefore, they can not change these commands. I will get some help here. Any suggestions on how I can make my program more extensible will be very welcome. +1...