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

Problem Loading Java VM Using JNI and DLLs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.3.1
    • hotspot
    • x86
    • windows_2000

      Customer is developing in a Windows environment (Windows 2000). Both Java and C++ are compiled on Windows. C++ is compiled using Visual Studio 6 SP3. They are using version 1.3.1-b24 of the JVM.

      Their problem description is below:

      When they try to load the Java VM with JNI_CreateJavaVM. the process exits and crash dumps. This happens when the code is compiled as a DLL and dynamically linked with another internal DLL. An intersting thing to note is that this call does not fail when the same code is compiled to a .lib and statically linked.

      A brief piece of code indicating the manner in which the init is called is attached.

      I have the call stack and the crash dump if that would be useful.

            asultano Alex Sultanov
            jglore Jennifer Glore (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: