I am writing a curriculum project for students new to Java. It has a folder structure as so.
myjar.jar
solutions/my/really/long/package/MySolution.class
I got it so the jar can load all classes in the solutions/my/really/long/package/ directory. by adding 'solutions/' to the classpath.
My question is if it is possible to set it up so there is no long nested folders for the package without using the default package.
The resulting structure would be
myjar.jar
solutions/MySolution.class
But the MySolution class would not have a default package.