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, /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

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web1655

  • 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
  • via Jenkins JIRA by vijayganesh_nsn, 11 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, /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
  • 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
  • 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, /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 at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:206) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:184) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.net.UnknownHostException: cds.sun.com at sun.reflect.GeneratedConstructorAccessor92.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.jvnet.robust_http_client.RetryableHttpStream.getStream(RetryableHttpStream.java:75) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:68) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:51) at hudson.tools.JDKInstaller.locate(JDKInstaller.java:308) at hudson.plugins.sshslaves.SSHLauncher.attemptToInstallJDK(SSHLauncher.java:285) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:204) ... 6 more Caused by: java.net.UnknownHostException: cds.sun.com at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(Unknown Source) at java.net.URLConnection.getHeaderFieldInt(Unknown Source) at java.net.URLConnection.getContentLength(Unknown Source) at org.jvnet.robust_http_client.RetryableHttpStream.<init>(RetryableHttpStream.java:67) ... 10 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

    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    3 more bugmates