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:
- Syntax error or access violation: 1071 specified key was too long; max key length is 767 bytes
- ginx-1.10.0\index/**“ failed (123: The filename, directory name, orvolume label syntax is incorrect)
- IIS “Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long.”
- Install python’s C extension compilation environment under windows (solve “error: command’cl.exe’ failed: No such file or directory”)
- Install Python C extension compiler environment under windows (solve “error: command” cl.exe ‘ failed: No such file or directory”)
- dnet: Failed to open device lo0
- Caused by: java.io.IOException: CreateProcess error=87, The parameter is incorrect
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- The file is generated, but an error is still reported. Error: CreateProcess failed
- gradle sync failed CreateProcess error=267 directory is invalid
- CreateProcess error=193, %1 is not a valid Win32 application
- CreateProcess failed when the inno setup packager is installed; code 740
- When idea executes the command, an error is reported: CreateProcess error = 2. The system cannot find the specified file
- Error command line is too long when idea project is started [How to Solve]
- Install Oracle VM VirtualBox Extension Pack failed to install the extension pack
- Bad Request – Request Too Long. HTTP Error 400. The size of the request headers is too long
- Jenkins reported an error modulenotfounderror: no module named filename solution
- Error in idea unit test command line is too long
- Perfect solution for IntelliJ idea error “CreateProcess error = 2, system cannot find the specified file”
- Idea: error running Name: command line is too long