Re: listFiles() or list() not working on linux.
Posted By:
Anonymous
Posted On:
Wednesday, November 29, 2006 05:35 AM
Have you tried src.exists() and src.isDirectory() to check if
the directory actually exists in the file system?
Also, "usr/local/jboss/dsmimage/rpodev/scanned/" is a relative path to the working directory of the VM. If you are looking for a directory under "/usr", and the VM is not started in "/", you should pass "/usr/local/jboss/dsmimage/rpodev/scanned/" when creating the 'src' File.