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

java.exe: "ThunkConnect32" not found in KERNEL32.dll

XMLWordPrintable

    • rc2
    • x86
    • windows_nt, windows_2000



      Name: rlT66838 Date: 02/04/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) client VM (build 1.3.0rc1-S, mixed mode)

      problem occurs with start of application.
      appl. proceeds normally
      (Review ID: 100820)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      Running *any* java application which uses the awt displays an error dialogue:

      Title: java.exe - Entry Point Not Found
      Message: The procedure entry point ThunkConnect32 could not be located in the dynamic link library KERNEL32.dll


      After dismissing the dialogue, the program continues normally.


      ================================================================
      === EXAMPLE CODE

      import java.awt.*;
      class F {
      public static void main (String [] args) {
      Frame f = new Frame();
      }
      }



      ================================================================
      === VERBOSITY

      The following (from -verbose) shows the libraries being loaded
      ...
      [Loaded F]
      [Loaded java.awt.image.ImageObserver from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.MenuContainer from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Component from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Container from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded javax.accessibility.Accessible from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Window from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Frame from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Component$AWTTreeLock from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded sun.awt.DebugHelper from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded sun.awt.NativeLibLoader from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]

      *************************************************************
      ** DIALOG BOX APPEARS NOW. Program continues when dismissed**
      *************************************************************

      [Loaded sun.awt.DebugHelperStub from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Toolkit from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.awt.Toolkit$3 from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]
      [Loaded java.util.ResourceBundle from C:\Program Files\JavaSoft\JRE\1.3\lib\rt.jar]

      ================================================================
      === VERSION INFO

      C:\TEMP>java -version
      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      C:\TEMP>java -fullversion
      java full version "1.3beta-O"

      ================================================================
      === OTHER INFO

      This happens from the command line or by double-clicking a jar

      Programs which do not use awt/Swing have no problem.

      It occurs on 2 entirely separate machines. Both have NT4 SP5, 256Mb+ memory, 400MHz+ processors, Ample disk space, different video drivers (one is ATI RAGE 3d Pro, other is MGA G200).
      (Review ID: 94939)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-I)
      Java HotSpot(TM) Client VM (build 1.3-I, mixed mode)

      When running any of the demo applets with appletviewer.
      I am using Windows 2000 Professional Build 2128

      The following code produces the error.

      import java.awt.*;

      public class a {

          static public void main(String[] params)
          {
              new Frame("Hello!");
          }
      }

      I have executed the code with and without the JIT and HotSpot without any difference. Actually, any applet or application that instantiates a top level window, is causing this behavior. The
      following is what a get when executing it with the -verbose switch.

      ...
      [Loaded java.awt.Window from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded java.awt.Frame from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded java.awt.Component$AWTTreeLock from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded sun.awt.DebugHelper from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded sun.awt.NativeLibLoader from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded sun.security.action.LoadLibraryAction from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded java.lang.Runtime from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded java.lang.ClassLoader$3 from D:\jdk1.3\jre\lib\rt.jar]
      [Loaded java.lang.ClassLoader$NativeLibrary from D:\jdk1.3\jre\lib\rt.jar]

      This is up to the point where I get the dialog which says "The procedure entry point ThunkConnect32
      could not be located in KERNEL32.dll"

      I have attached my Kernel32.dll. It seems to me there is no ThunkConnect32() entry in the exported
      table of this dll where in the case of Windows 98 it is exported. So, I'm not sure if the problem lies with
      at the JVM or at Windows 2000. JDK 1.2.2 is running fine although.
      (Review ID: 99120)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      On Windows NT (service pack 5) running any kind of graphical Java application
      immediately displays this error in an "OK" message dialog: "The procedure entry
      point ThunkConnect32 could not be located in the dynamic link library
      KERNEL32.dll".

      Attempting to run any of the supplied jdk1.3 graphical demos still displays
      this message. I have also created a very simple application derived from Frame
      which still does the same.

      Non-graphical applications work fine.

      JDK1.2.2 works fine on my system.

      This problem is not reproducable on Windows98 SE.
      (Review ID: 98003)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc1-T)
      Java HotSpot(TM) Client VM (build 1.3.0rc1-S, mixed mode)

      Whenever I start a java program that has a GUI window (using java.exe xxx or
      javaw.exe xxx), I get the following error:

      "The procedure entry point ThunkConnect32 could not be located in the dynamic
      link library KERNEL32.dll"

      After I hit <Enter> to dismiss this dialog, everything seems to come up and run
      fine.

      Starting a console program (java.exe xxx) does not produce this error.
      (Review ID: 100713)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)



      When I run a graphical application (like NetBeans) under jre1.3 (and I think
      1.2). I get: "java.exe - Entry Point Not Found"
      The procedure entry point ThunkConnect32 could not be located in the dynamic
      link library KERNEL32.dll.

      This isn't a fatal error, but it is very annoying and I wonder if it could be
      fixed.

      I'm running w2k rc2 atm, but I think I had this problem in b3 and I expect it
      would happen on nt4.
      (Review ID: 98150)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)


      When I run the JDK 1.3 beta on Windows 2000 (RC2) there is an error dialog that
      is presented.

      TitleBar:
      java.exe - Entry Point Not Found

      Message:
      The procedure entry point ThunkConnect32 could not be located in the dynamic
      link library KERNEL32.dll.
      (Review ID: 100094)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      C:\forte4j>java -version
      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      Platform is a dual processor 233MHz/MMX Pentium system, NT 4.0 SP 6 and 256Mb
      memory.

      Steps:
       Install JDK 1.3beta
       Install Forte4Java CE 1.0 Build 434
       Run Forte4Java via desktop icon.

      I immediately get the following error message in an error/message box:

      java.exe - Entry Point Not Found

      The procedure entry point ThunkConnect32 could not be located in the dynamic
      link library KERNEL32.dll

      This does not happen when I run Forte4Java using JDK 1.2.2, however,
      performance is very poor and memory is very high with JDK 1.2.2.

      I'm not sure what problems this causes when running Forte4Java, as after I
      click the OK button on the error dialog, F4J starts up.
      (Review ID: 100244)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      Problem:
      Error Message when application starts:
      java.exe - Entry Point Not Found
      The procedure entry point ThunkConnect32 could not ne located in the dynamic
      link library KERNEL32.dll

      OS:
      Windows NT Workstation 4.0 SP6

      Kernel32.dll:
      v4.0 Date : September 23, 1999 1:04PM



      Source :
      import java.awt.*;
      import java.awt.event.*;
      import javax.swing.*;

      public class GUI1 extends JFrame {
      public static void main(String[] args) {
      GUI1 frame = new GUI1();
      frame.setSize(new Dimension(400,300));
      frame.pack();
      frame.setVisible(true);
      }

      public GUI1() {
      super("Test app");
      addWindowListener(new WindowAdapter() {
      public void windowClosing(WindowEvent e) {
      System.exit(0);
      }
      });
      }
      }
      (Review ID: 97862)
      ======================================================================

      Name: rlT66838 Date: 02/04/2000


      On Windows NT 4.0 SP5 I get the following error whenever I execute an application using javaw.exe or java.exe:

      The procedure entry point ThunkConnect32 could not be located in the dynamic link library KERNAL32.dll

      The java -version info is:

      java version "1.3beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3beta-O)
      Java(TM) HotSpot Client VM (build 1.3beta-O, mixed mode)

      and java -fullversion :

      java full version "1.3beta-O"
      (Review ID: 94726)
      ======================================================================

      Name: skT88420 Date: 02/08/2000


      java version "1.3.0rc1"
      Java(TM) 2 Runtime Environment, Standard Edition( build1.3.0rc1-T)
      Java Hotspot(TM) Client VM (build1.3.0rc1-S, mixed mode)

      Running any java program produces the following NT error dialog:

      "The procedure entry point ThunkConnect32 could not be located in the dynamic
      link library KERNEL32.dll"

      After hitting OK button in error dialog, the java program continues without a
      problem.

      This started happening after I de-installed v1.2 and then installed v1.3RC1.
      (Review ID: 100984)
      ======================================================================

            dmendenhsunw David Mendenhall (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: