Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tstgruby opened this issue Dec 1, 2011 · 0 comments
Open

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

tstgruby opened this issue Dec 1, 2011 · 0 comments

Comments

@tstgruby
Copy link

tstgruby commented Dec 1, 2011

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
talsalmona pushed a commit to talsalmona/jline that referenced this issue Feb 12, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant