Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: buckminster-plugin
-
Labels:None
-
Similar Issues:
Description
building a freestyle project to run the buckminster aggregator results in an error:
Commandline:
/bin/java -Dbuckminster.output.root=/usr/local/development/hudson/hudson_home/jobs/buckminster/workspace//buckminster.output -Dbuckminster.temp.root=/usr/local/development/hudson/hudson_home/jobs/buckminster/workspace//buckminster.temp -Xmx512m -jar plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar -application org.eclipse.buckminster.cmdline.headless -data /usr/local/development/hudson/hudson_home/jobs/buckminster/workspace/ --loglevel info -S /usr/local/development/hudson/hudson_home/jobs/buckminster/builds/2010-03-17_17-41-58/commands.txt ERROR: Cannot run program "/bin/java" (in directory "/usr/local/development/buckminster"): java.io.IOException: error=2, No such file or directory
- Hudson has a configured JDK
- hudson-plugin version is 0.9.3.
Could this is related to http://issues.jenkins-ci.org/browse/JENKINS-5004?
Hi,
to me this looks like it uses the JDK configured by hudson, otherwise it would not be '/bin/java', but just 'java':
http://fisheye.jenkins-ci.org/browse/Hudson/trunk/hudson/plugins/buckminster/src/main/java/hudson/plugins/buckminster/command/CommandLineBuilder.java?r2=24553&r1=24093
Is it possible that there are multiple JDKs configured and this is just the wrong one?