this post was submitted on 06 May 2024
3 points (100.0% liked)

Wine

317 readers
1 users here now

Lemmy community for the Wine, the Windows simulator for Linux.

founded 1 year ago
MODERATORS
 

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?

top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 3 months ago* (last edited 3 months ago) (1 children)

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.

[–] [email protected] 4 points 3 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...)

[–] [email protected] 1 points 3 months ago

Maybe you have to set an override in Wine's configuration for that dll. But usually that's only needed for system dlls.