Possible Duplicate:
CreateProcess error=206, The filename or extension is too long when running main() method
Using Eclipse (Indigo for Java EE), when I clean all projects (to compile them again) I get the following error :
'DataNucleus Enhancer' has encountered a problem Cannot run program "C:\jdk7\bin\javaw.exe" (in directory "C:\0-MS"): CreateProcess error=206, Nom de fichier ou extension trop long (==> in english : the filename or extension is too long)
As you can see, I tried using the shortest path possible, but Eclipse still says the same thing. One similiar problem reported talks about configuring the ORM (using Google App Engine) but I think this is a different problem.
Anyone know why this is happening?
Here is the LOG :
!ENTRY com.google.appengine.eclipse.core 4 0 2012-06-26 08:17:23.137
!MESSAGE Cannot run program "C:\jdk7\bin\javaw.exe" (in directory "C:\0-MS"): CreateProcess error=206, Nom de fichier ou extension trop long
!STACK 0
java.io.IOException: Cannot run program "C:\jdk7\bin\javaw.exe" (in directory "C:\0-MS"): CreateProcess error=206, Nom de fichier ou extension trop long
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at com.google.gdt.eclipse.core.ProcessUtilities.launchProcessAndActivateOnError(ProcessUtilities.java:213)
at com.google.appengine.eclipse.core.orm.enhancement.EnhancerJob.runInWorkspace(EnhancerJob.java:106)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: java.io.IOException: CreateProcess error=206, Nom de fichier ou extension trop long
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:188)
at java.lang.ProcessImpl.start(ProcessImpl.java:132)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1021)
... 4 more
Here is the project command line
-startupUrl MananaSeguro.html -war C:\0-MS\war -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -logLevel INFO -codeServerPort 9997 -port 8888 -server com.google.appengine.tools.development.gwt.AppEngine
The VM arguments
-Xmx512m -javaagent:C:\shortGAE-1.6.4\lib\agent\appengine-agent.jar -XX:-UseSplitVerifier
And the ORM properties (App Engine), there is just one folder :
src/