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