On Friday, June 21, 2013 3:21:16 AM UTC+2, Lexis Nexis wrote:
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.ExternalPermutationWorkerFacto ry.launchExternalWorker( ExternalPermutationWorkerFacto ry.java:278)
at com.google.gwt.dev.ExternalPermutationWorkerFacto ry.getWorkers( ExternalPermutationWorkerFacto ry.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)
As a workaround, you can disable external workers and use only threads: launch your GWT Compiler process with -Dgwt.jjs.permutationWorkerFactory=com.google.gwt.dev.ThreadedPermutationWorkerFactory. It'll use a single thread by default, so you'll probably want to also use -Dgwt.jjs.maxThreads=4 (4 being picked relative to the number of cores on the machine)
-- 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