CreateProcess error 206 The filename or extension is too lo

               
Mule Studio startup Error: Java.io.IOException: Cannot Run program “E:\2000\Java\JDKUpdate\bin\ Javaw.exe “(in directory “E:\BCS_SLN\BCS\DeveloperSource\ Congou-Runtium-ESB “): CreateProcess error = 206, ļ I lay down Au » o չ Au

Native environment: Chinese version of Windows 8 Enterprise X64, Java JDK version 1.6.0.35, Mule Studio 3.2.1 CE (integrated with Eclipse 3.6 Sp1)
I began to suspect that Mule environment had made a mistake and took the following measures:
1, delete.Mule folder, delete. Metadata folder, rebuild workspace, all invalid.
2. Delete THE JDK and reinstall it, restart the machine, and the failure remains the same.
3. Delete THE JDK and reinstall the 64-bit JDK, restart the machine, and the failure remains the same.
4. Modified Mule Studio workspace encoding to UTF-8,GBK,ISO-8859-1, and the error remains the same.
Google, see an article that says: “CreateProcess error=206, The filename or extension is too long.” That’s what the code meant. My God!
In this article
http://support.microsoft.com/kb/830473/en-us
“There is a limit to the length of a string supported on the Windows command line,” the article says. “On a computer running Microsoft Windows XP or later, the maximum length of a string that can be used at the command prompt is 8,191 characters. On a computer running Microsoft Windows 2000 or Windows NT 4.0, the maximum length of a string that can be used at a command prompt is 2047 characters.
Solution:
(1) Use shorter names for folders and files.
(2) Reduce the depth of folder trees.
(3) Store files in quantities so that fewer folders are required in the PATH environment Variable.
(4) Investigate possible methods that you can use to reduce the dependency of PATH for locating. DLL files
In other words, under Windows, the shell directive’s length limit results in the parameter string following JAVAW (in this case,
with the prefix E:\BCS_SLN\BCS\DeveloperSource\mule\congou- rung-esb loading each JAR) having a total length of more than 8191, resulting in truncation, reported above error.
Someone wrote example verification, http://www.cnblogs.com/aigongsi/archive/2012/04/11/2442774.html
Therefore, the path of modification project is E:\ Mule \ Congou – Runtime-ESB, and the problem is solved!

Note: The copyright of this article is jointly owned by Yueyue and CSDN. Please indicate the source for reprinting.
helping others equals self-help! 3 [email protected]

Read More: