I had this XP machine configured correctly as a Jenkins slave. But now...

When I try to launch the node, I get 
No Java found, downloading JDK and then it fails

I do have java installed, as the slave worked before.
On the slave machine console, I can run java and it finds it OK
I added JAVA\_HOME with the correct path to the slave configuration screen. 
No luck. 

Thoughts?