java.lang.ClassNotFoundException: java.net.UnknownHostException: java.sun.com

Oracle Community | 807592 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Sun's demo applets - ClassNotFoundException

    Oracle Community | 2 decades ago | 843798
    java.lang.ClassNotFoundException: java.net.UnknownHostException: java.sun.com
  2. 0

    Sun's demo applets - ClassNotFoundException

    Oracle Community | 2 decades ago | 807592
    java.lang.ClassNotFoundException: java.net.UnknownHostException: java.sun.com
  3. 0

    Problem with Java plugin (plug-in) 1.3.1_02.

    Google Groups | 2 decades ago | Ben Moir
    java.lang.ClassNotFoundException: java.net.ConnectException: Connection refused: connect
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java.lang.ClassNotFoundException in IE6.0

    Oracle Community | 1 decade ago | 843802
    java.lang.ClassNotFoundException: java.net.UnknownHostException: www.steuern-online.de
  6. 0

    HELP!  Windows XP and Swing Applets

    Oracle Community | 2 decades ago | 807555
    java.lang.ClassNotFoundException: java.net.ConnectException: Connection refused: connect

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ClassNotFoundException

      java.net.UnknownHostException: java.sun.com

      at java.net.InetAddress.getAllByName0()
    2. Java RT
      NetworkClient.doConnect
      1. java.net.InetAddress.getAllByName0(Unknown Source)
      2. java.net.InetAddress.getAllByName0(Unknown Source)
      3. java.net.InetAddress.getByName(Unknown Source)
      4. java.net.Socket.<init>(Unknown Source)
      5. sun.net.NetworkClient.doConnect(Unknown Source)
      5 frames
    3. sun.plugin.protocol
      HttpClient.doConnect
      1. sun.plugin.protocol.jdk12.http.HttpClient.doConnect(Unknown Source)
      1 frame
    4. Java RT
      HttpClient.<init>
      1. sun.net.www.http.HttpClient.openServer(Unknown Source)
      2. sun.net.www.http.HttpClient.openServer(Unknown Source)
      3. sun.net.www.http.HttpClient.<init>(Unknown Source)
      4. sun.net.www.http.HttpClient.<init>(Unknown Source)
      4 frames
    5. sun.plugin.protocol
      HttpURLConnection$PrivilegedBlockAction.run
      1. sun.plugin.protocol.jdk12.http.HttpClient.<init>(Unknown Source)
      2. sun.plugin.protocol.jdk12.http.HttpClient.New(Unknown Source)
      3. sun.plugin.protocol.jdk12.http.HttpURLConnection.privBlock(Unknown Source)
      4. sun.plugin.protocol.jdk12.http.HttpURLConnection$PrivilegedBlockAction.run(Unknown Source)
      4 frames
    6. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    7. sun.plugin.protocol
      HttpURLConnection.getInputStream
      1. sun.plugin.protocol.jdk12.http.HttpURLConnection.connect(Unknown Source)
      2. sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
      2 frames
    8. Java RT
      AppletClassLoader.findClass
      1. java.net.HttpURLConnection.getResponseCode(Unknown Source)
      2. sun.applet.AppletClassLoader.getBytes(Unknown Source)
      3. sun.applet.AppletClassLoader.access$100(Unknown Source)
      4. sun.applet.AppletClassLoader$1.run(Unknown Source)
      5. java.security.AccessController.doPrivileged(Native Method)
      6. sun.applet.AppletClassLoader.findClass(Unknown Source)
      6 frames
    9. sun.plugin.security
      PluginClassLoader.findClass
      1. sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
      1 frame
    10. Java RT
      AppletPanel.createApplet
      1. java.lang.ClassLoader.loadClass(Unknown Source)
      2. sun.applet.AppletClassLoader.loadClass(Unknown Source)
      3. java.lang.ClassLoader.loadClass(Unknown Source)
      4. sun.applet.AppletClassLoader.loadCode(Unknown Source)
      5. sun.applet.AppletPanel.createApplet(Unknown Source)
      5 frames
    11. sun.plugin
      AppletViewer.createApplet
      1. sun.plugin.AppletViewer.createApplet(Unknown Source)
      1 frame
    12. Java RT
      Thread.run
      1. sun.applet.AppletPanel.runLoader(Unknown Source)
      2. sun.applet.AppletPanel.run(Unknown Source)
      3. java.lang.Thread.run(Unknown Source)
      3 frames