java.io.File does not support long paths in IBM Java 2 SDK 1.2.2, 1.3.1 and 1.4.1 on Microsoft Windows

Technote (FAQ)
Problem
java.io.File does not support long paths (greater than 255 characters) on IBM® Java™ 2 SDK 1.2.2, IBM Java 2 SDK 1.3.0, IBM Java 2 SDK 1.3.1 and IBM Java 2 SDK 1.4.1 for the Microsoft® Windows® platform.
Cause
This is limitation of IBM Java 2 SDK 1.2.2, 1.3.1 and 1.4.1 on the Microsoft Windows platform
Solution
If a file or directory has path greater than 255 characters on Microsoft Windows, java.io.File reports that the object is neither a file nor a directory. Any attempt to open such a file fails with the following exception:.
    java.io.FileNotFoundException











Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Java SDK
Operating system(s): Windows
Software version: 3.5, 4.0, 5.0, 5.1, 6.0
Reference #: 1169071
IBM Group: Software Group
Modified date: 2004-05-14