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, /bin/java], and we also failed to install JDK as a fallback


Solutions on the web1694

Solution icon of jenkins
via Jenkins JIRA by maestromani, 1 year ago
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, /design/bsp/sla02/jdk/bin/java, /usr/java/jdk1.5.0_07/bin/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by vijayganesh_nsn, 1 year ago
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, /design/bsp/sla02/jdk/bin/java, /usr/java/jdk1.5.0_07/bin/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by maestromani, 1 year ago
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, /design/bsp/sla02/jdk/bin/java, /usr/java/jdk1.5.0_07/bin/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by vijayganesh_nsn, 1 year ago
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, /design/bsp/sla02/jdk/bin/java, /usr/java/jdk1.5.0_07/bin/bin/java], and we also failed to install JDK as a fallback

Solution icon of googlegroups
via Google Groups by Unknown author, 7 months ago
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, /usr/jenkins/.jenkins/jdk/bin/java, /bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by Matthias Kraft, 1 year ago
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, /RDS/HUDSON/jdk/bin/java, /opt/fun/JDK/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by Matthias Kraft, 1 year ago
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, /RDS/HUDSON/jdk/bin/java, /opt/fun/JDK/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
via Jenkins JIRA by Damien Nozay, 1 year ago
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, /zfs-data/jenkins/jdk/bin/java], and we also failed to install JDK as a fallback

Solution icon of web
via gmane.org by Unknown author, 1 year ago
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, C:\hudson/jdk/bin/java], and we also failed to install JDK as a fallback

Solution icon of jenkins
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, /dev/fs/C/jenkins/jdk/bin/java], and we also failed to install JDK as a fallback

Stack trace

  • 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, /bin/java], and we also failed to install JDK as a fallback at hudson.plugins.sshslaves.SSHLauncher.resolveJava(SSHLauncher.java:557) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:493) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:230) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: Failed to detect the environment for automatic JDK installation. Please report this to jenkinsci-users@googlegroups.com: at hudson.plugins.sshslaves.SSHLauncher.attemptToInstallJDK(SSHLauncher.java:654) at hudson.plugins.sshslaves.SSHLauncher.resolveJava(SSHLauncher.java:555) ... 7 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.