In netbeans, the src folder is not the destination of the compiled classes, so if you use a relative path, the location that your program launches will not be the src folder.
This means that you usually have to βexpandβ your assembly in order to copy the frantic file into the build path if you want it to work the way you mean. Many files are already copied to the build path (for example, property files), but if you include a data file that does not have a rule to be placed in the build path, you need to add the rule yourself.
Edwin buck
source share