Thank you Mark. Yes, I checked for that the Environment Variables but 
unfortunately: nothing! I've tried adding a JAVA_HOME variable pointing to 
the place where the tools.jar is and the build failed.
I'd really like to understand how the build files "think" they should be 
looking for this before I do anymore "experimenting"...
 

On Friday, June 7, 2019 at 10:48:58 AM UTC-4, ABostonGal ABostonGal wrote:
>
> I have an ANT build that has been working just fine for quite a while and 
> suddenly it has stopped working and I am trying to figure out why. Here is 
> what the Jenkins console displays and my notes about it. I've obscure the 
> actual site name, directory values, and Jenkins job name, etc. "uvwx" is 
> the Jenkins job that is failing to build
>
> In Jenkins console:
>
> No changes for svn://ab/cd/ef/gh/ijk since the previous build
>
> Copied 3 artifacts from "lmnop" build number 137
>
> Copied 2 artifacts from "qrst" build number 2700
>
> [uvwx] $ cmd.exe /C 
> "C:\Users\jenkins\jenkins_home\tools\hudson.tasks.Ant_AntInstallation\Ant_1.9.6\bin\ant.bat
>  
> get-revision compile-tests compile-javadoc package-jar package-javadoc && 
> exit %%ERRORLEVEL%%"
> Unable to locate tools.jar. Expected to find it in C:\Program 
> Files\Java\jre1.8.0_201\lib\tools.jar
>
>
> My notes about this: 
>
> What I want to know is: WHY does the build "expect" to find it in 
> "c:\Program Files\Java\jre1.8.0_201"? There IS no such path on the machine 
> on which the job is building...
>
> How can I find out WHERE that value is coming from? I've been looking at 
> the ant, build files and source code and don't see where that value would 
> be set.
>
> Thank you.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/bd6b7015-91fa-4e87-9543-2b6b4f3d4b4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to