Thursday, June 20, 2013

The filename or extension is too long

I used the built-in GWT compiler (2.5.0) in Eclipse 4.2.1. After a few hours compilation, I finally got the following error. Any suggestion will be greatly appreciated.

  Compiling 2 permutations
      [ERROR] Unable to start external process
java.io.IOException: Cannot run program "C:\Program Files\Java\jdk1.6.0_38\jre\bin\java": CreateProcess error=206, The filename or extension is too long
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:460)
    at com.google.gwt.dev.ExternalPermutationWorkerFactory.launchExternalWorker(ExternalPermutationWorkerFactory.java:278)
    at com.google.gwt.dev.ExternalPermutationWorkerFactory.getWorkers(ExternalPermutationWorkerFactory.java:366)
    at com.google.gwt.dev.PermutationWorkerFactory.createWorkers(PermutationWorkerFactory.java:366)
    at com.google.gwt.dev.PermutationWorkerFactory.compilePermutations(PermutationWorkerFactory.java:267)
    at com.google.gwt.dev.CompilePerms.compile(CompilePerms.java:207)
    at com.google.gwt.dev.Compiler.run(Compiler.java:242)
    at com.google.gwt.dev.Compiler.run(Compiler.java:198)
    at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
    at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
    at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
    at com.google.gwt.dev.Compiler.main(Compiler.java:177)

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment