On Fri, Dec 13, 2013 at 02:49:08AM -0800, Divya Madaan wrote:
> I am trying to launch agent on linux server via SSH but getting below 
> error. Could anyone please help with this ?
> 
> [12/13/13 01:19:10] [SSH] Opening SSH connection to cabluj1:22.
> [12/13/13 01:19:11] [SSH] Authentication successful.
...
> [12/13/13 01:19:11] [SSH] Checking java version of java
> [12/13/13 01:19:11] [SSH] java -version returned 1.4.2.
...
> hudson.util.IOException2: Could not find any known supported java version 
> in [java, /usr/bin/java, /usr/java/default/bin/java, 
> /usr/java/latest/bin/java, /usr/local/bin/java, /usr/local/java/bin/java, 
> /home/dmadaan/jdk/bin/java], and we also failed to install JDK as a fallback

You need to upgrade Java on the Linux machine.  1.4.2 is too old.

Marius Gedminas
-- 
Westheimer's Discovery:
        A couple of months in the laboratory can
        frequently save a couple of hours in the library.

Attachment: signature.asc
Description: Digital signature

Reply via email to