Jenkins slave unable to figure out java version
<pre><code>[03/21/16 16:09:39] [SSH] Opening SSH connection to 172.18.73.53:22.
[03/21/16 16:09:40] [SSH] Authentication successful.
[03/21/16 16:09:40] [SSH] The remote users environment is:
[03/21/16 16:09:40] [SSH] Checking java version of java
Couldn't figure out the Java version of java

[03/21/16 16:09:41] [SSH] Checking java version of /usr/bin/java
Couldn't figure out the Java version of /usr/bin/java
[03/21/16 16:09:41] [SSH] Checking java version of      /usr/java/default/bin/java
Couldn't figure out the Java version of /usr/java/default/bin/java
</code></pre>

<p>I am getting the above error on launching the slave</p>