Hi,
I have created some classes that I want to use for several programs. Some of these classes require input files (for configuration data etc). I have kept the classes in a seperate location (ie windows folder) from the application and included the path to the classes in my classpath. I can get my applications to compile without error but the only way I can get them to run is to place the input files required by classes in the same location as the application using them. I would ideally, like to keep the classes and their input files in the same location. How can I do this??
In my code i do not have any paths, I have only specified file names.
Thanks,
Neil
I have created some classes that I want to use for several programs. Some of these classes require input files (for configuration data etc). I have kept the classes in a seperate location (ie windows folder) from the application and included the path to the classes in my classpath. I can get my applications to compile without error but the only way I can get them to run is to place the input files required by classes in the same location as the application using them. I would ideally, like to keep the classes and their input files in the same location. How can I do this??
In my code i do not have any paths, I have only specified file names.
Thanks,
Neil