Skip to content

jline loadLibrary 32bit / 64bit DLL steps on its toes #4

@tstgruby

Description

@tstgruby

Currently, jline extracts the DLLs using a name like "jline_<version>.dll" (on MS Windows).

When an application using jline is running on a 64bit JVM, and you try to start another app using a 32bit JVM, it can't overwrite the original library (because it is still locked by the 64bit JVM process) and then tries to load it into the 32bit JVM (and vice versa):

java.lang.UnsatisfiedLinkError: C:\Users\Grubert\AppData\Local\Temp\jline_0_11_1.dll: Can't load AMD 64-bit .dll on a IA
 32-bit platform

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions