I’m trying to run a program in wine and getting the error 0024:err:module:import_dll Loading library jmptojava.dll (which is needed by L"C:\\Program Files\\SAS\\JMP\\10\\jmp.exe") failed (error c000007b)

The missing jmptojava.dll file is in the same directory as the executable. Do I need to set a Windows environment variable or something so that it can find it? Any other thoughts?

  • mox@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 months ago

    That error message doesn’t say the DLL is missing; it says that the DLL failed to load. It’s possible that some other failure is the cause. Perhaps the current user doesn’t have permission to read the DLL, or the DLL requires other DLLs that are missing, or it has an unexpected version/format/architecture, for example.

    • GrappleHat@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      4
      ·
      8 months ago

      Oh, you’re right. After further investigation: this old program is 32-bit but my Wine prefix was 64-bit (face palm). Switching my prefix architecture fixed this issue (& of course exposed a new one… This Wine stuff is hard if you’re not just trying to run video games…)