Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4179235

jre12.exe bundle for M is bad giving java.lang.NoSuchMethodError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1 P1
    • 1.2.0
    • 1.2.0
    • install
    • 1.2fcs
    • sparc
    • solaris_2.6
    • Verified

      jre12.exe plug-in install from /usr/local/java/jdk1.2/bundles doesn't work, citing java.lang.NoSuchMethodError.

      Steps to Reproduce:
      0) Unset every variable you can think of (CLASSPATH, JAVAHOME, etc.)
      1) Install jre12.exe from /usr/local/java/jdk1.2/bundles on a Windows NT machine.
      2) With Internet Explorer go to http://javaweb/~dochez
      3) Follow the link to the bottom to the 1.2 applets
      4) Try to view any applet
      RESULT: An exception is thrown to the Java Console which reads:

      Java(TM) Plug-in
      Using JRE version 1.2fcs
      User home directory = C:\WINNT\Profiles\nancys
      Proxy Configuration: Manual Configuration
           Proxy: webcache-cup:8080
           Proxy Overrides:

      JAR cache enabled.
      java.lang.NoSuchMethodError: sun.net.www.protocol.http.HttpURLConnection: method
       getCallback()Ljava/net/URLConnection$Callback; not found
              at sun.plugin.protocol.jdk12.http.HttpURLConnection.connect(HttpURLConne
      ction.java:161)
              at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpU
      RLConnection.java:213)
              at sun.applet.AppletClassLoader.getBytes(Compiled Code)
              at sun.applet.AppletClassLoader.access$1(AppletClassLoader.java:216)
              at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:139)
              at java.security.AccessController.doPrivileged(Native Method)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:136)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:280)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:110)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:237)
              at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:363)
              at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
              at sun.plugin.AppletViewer.createApplet(AppletViewer.java:759)
              at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
              at sun.applet.AppletPanel.run(Compiled Code)
              at java.lang.Thread.run(Thread.java:479)

            nschorrsunw Nancy Schorr (Inactive)
            nschorrsunw Nancy Schorr (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: