I'd like to spend a few minutes of this holiday here to ask you about a doubt in my project . The situation is very simple: I have a Jar file that contains the whole game rules, IA, monsters etc, and many other Jar files named "Enviroments". The user has the first Jar, but it alone doesn't work, it needs at least one enviroment to run the game. It's necessary to place at least one of the jar files in the same package of the game (for example, c:/theGame). My problems reside in this point:
a. The game Jar need to look in the directory for compatible enviroments Jars. How it can do that?
b. After that, the game must acess the Jar's objects. How it can do that?