The JVM throws on Mac OS X a "FileNotFoundException: <very long path> (File name too long)" exception. The Finder on the other hand seems to use relative paths in one direction (I can create paths beyond 1024 byte and I can copy files into such directories) but as soon as I try to copy/move a File back to the Desktop it refuses the operation (i.e. relative destination path and absolute source path).
Btw, MAX_PATH is 260 chars on Windows XP (modern system -- so much for that). Check if your file's path is >=260 chars...!? |