I have setup a new slave node which is a Fedora 20 box. I open the 
jenkins:8080, go to the node, try to launch it I get 

[04/06/15 14:35:23] [SSH] Opening SSH connection to salamlinux:6001. [04/06/
15 14:35:24] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
GVM: JAVA_HOME not set and cannot find javac to deduce location, please set 
JAVA_HOME.

hudson.AbortException
 at hudson.plugins.sshslaves.SSHLauncher.verifyNoHeaderJunk(SSHLauncher.java
:859)



When I ivestigate my JAVA_HOME on this box on terminal, I get 


salam@inux ~]$ echo $JAVA_HOME
/home/salam/jdk1.8.0_31


running which javac I get   ~/jdk1.8.0_31/bin/javac



Why slave is not able to find the JAVA_HOME? Thanks for your help

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f8705bb5-9ee8-4ef0-9047-18a81843e841%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to