ANT java.io.IOException: CreateProcess
Posted on 2004-10-19
My ANT script is building a long classpath, and I suspect this is causing a problem. Here is a portion of my ANT output:
C:\RetailDirect\build.xml:103: java.io.IOException: CreateProcess: C:\j2sdk1.4.1_02\jre\bin\java.exe -classpath C:\j2sdk1.4.1_02\jre\lib\ext\dnsns.jar;...[LONG PATH]...;C:\j2sdk1.4.1_02\jre?
The ? character marks the 1010th character of the command. Is there a 1K limit on the length of a classpath specified from the javac.exe command-line? Or is there a limit on command-lines in general?