I need to use Java's Class.forName("") to load one of my classes. Problem is that I need to load the class by only specifying the class name and NOT the fully qualified class name.
For example this works but doesn't fit my requirements:
Class.forName("reflection.Person");
And this is what I need but is not working:
Class.forName("Person");
Anyone knows how to get #2 working? I just need to use the simple class name. Any 3rd party tools that will walk through my folder structure to check if the class exists? This will be deployed as an executable JAR.
Thanks in advance.