Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] Cannot run program "javac" [...] java.io.IOException: error=2, No such file or directory

On a related note, I've created http://bugs.eclipse.org/377903 some time ago in the hopes that we can, in the future, create new slaves more reliably.

Denis



On 05/07/2012 11:51 AM, Zeb Ford-Reitz wrote:
Denis,

Thanks for adding it to the path, and thanks as well for the explanation.

 - Zeb

On 07.05.2012 17:48, Denis Roy wrote:
You are calling 'javac' without the full path, and on slave2 the PATH environment variable didn't include a ling to typical JRE executables.

I've fixed this and restarted slave2 (for the new environment to take effect) so your job should find the javac executable now.

Denis



On 05/07/2012 11:16 AM, Zeb Ford-Reitz wrote:
The jubula-nightly Hudson job is running into problems when trying to use the "javac" Ant directive (namely, the error in the subject occurs). https://hudson.eclipse.org/hudson/job/jubula-nightly/704/console has an example of things going wrong. This has occurred sporadically in the last few weeks, but it always seemed to resolve itself by the next day. I'm assuming that the resolution was the result of a Hudson restart, since that seems to be a catch-all solution for otherwise inexplicable problems.

Is anyone else encountering similar or other inexplicable errors? Is it time for another Hudson restart?

 - Zeb





Back to the top