|CreateProcess 206 error when Run As (long classpath problem) [message #729049]
||Sat, 24 September 2011 21:21
| Thomas Adler
Registered: September 2011
I am am trying to execute Run As (for executing JUnit tests) for J2EE project in Eclipse running on Windows Vista but I get error:
Cannot run program "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" (in directory "C:\Users\MyName\workspace\MyProject"):
CreateProcess error=206, The filename or extension is too long
My project includes lot of jars and so on, and it can be run on Application Server without errors. I searched Google and the found similar error in a bit different context - it is filed as Netbeans Bugzill bug id=200790.
They are saying that run configuration processes the list of libraries and add the result to the classpath and this classpath can become too long for Windows. So - I guess - this is the problem of Eclipse "Run As..." or at least - the problem of configuration of this plugin.
But what options I have? How I can alternatively inform javaw about all the necessary libraries if not with classpath command option?
I guess that this problem should be fairly common because J2EE projects usually contains lot of jars - hot to Run such projects from Eclipse?
Thanks in advance!
Powered by FUDForum
. Page generated in 0.02271 seconds