Monday, May 4, 2020

Re: java.io.IOException: Cannot run program "C:\J8\jre\bin\java": CreateProcess error=206

Hi,

Instead of the link (btw I use Far Manager), you try to move the project, or better checkout sources to c:\a and create a new one (the old project can have a hardcoded path to old location). If it will not help you need to find out the reason and refactor your code to eliminate too long paths.

Best,
Stas

On Monday, May 4, 2020 at 9:49:49 AM UTC+2, Kasper Danielsen wrote:
Hi Stas,

That sounds like my kind of problem.
I have tried moving my projekt to a root folder like c:a but that did not help. I am not sure if it has the same effect as your suggestion.
If I would make a directory junction (New to me)
Is it with the mklink command?


Best,
Kasper

torsdag den 30. april 2020 kl. 15.53.29 UTC+2 skrev Kasper Danielsen:
When building on Windows I get the error:
java.io.IOException: Cannot run program "C:\J8\jre\bin\java": CreateProcess error=206

From googling I can tell that I am not the only one with this problem.
It has to do with a command line restriction in Windows on 32k of text as I remember
I have tried out a dozen of suggestions from googling with no luck.


Using IntelliJ IDEA. Have made an Ubuntu VM where I have the excat same project running with IntelliJ

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/b30377ab-6aa1-4b45-b94d-9f88564d0272%40googlegroups.com.

No comments:

Post a Comment