When mule studio is started, an error occurs: Java. io. ioexception: cannot run program "E: \ 2000 \ Java \ jdkupdate \ bin \ javaw.exe" (In directory "E: \ bcs_sln \ BCS \ mongosource \ mule \ congou-runtime-ESB "): CreateProcess error = 206,Please refer to the following link for more information:
Local Environment: Windows 8 Enterprise x64, Java JDK 32-bit 1.6.0.35, mule studio 3.2.1 Ce (integrated from eclipse 3.6 SP1)
Start to suspect that a mule environment error occurs. take the following measures:
1. Deleting the. mule folder, deleting the. Metadata folder, and recreating the workspace are invalid.
2. Delete the JDK and reinstall it. Restart the machine. The fault persists.
3,Delete the JDK, reinstall the 64-bit JDK, and restart the machine. The fault persists.
4. Modify mule studio workspace code to UTF-8, GBK, ISO-8859-1, error still.
Google, seeArticle"CreateProcess error = 206,The filename or extension is too long.", The original garbled characters mean this. My God!
And then see this article http://support.microsoft.com/kb/830473/en-us
This article mentions:"There are limits on the length of strings supported by the command line in windows. on a computer, run Microsoft Windows XP or a later version, the maximum length of a string that can be used in a command prompt is 8191 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 fewer folders 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.
that is, in windows, the length of shell commands is limited, result In the parameter string ( in this example,
E: \ bcs_sln \ BCS \ Alibaba source \ mule \ c Ongou-runtime-ESB prefix ) . The total length exceeds 8191, leading to truncation. The preceding error is reported.
Someone also wrote an example for verification, http://www.cnblogs.com/aigongsi/archive/2012/04/11/2442774.html
Therefore, modify the project pathE: \ mule \ congou-runtime-ESB. Solve the problem!