Thank you for your posting. Yes. Some one else might have the same problem.
If the directory name contain space or some other special characters which might be allowed in Microsoft Windows system, would not work in java.