LMDB JNI binaries for JDK 1.6

124 views
Skip to first unread message

Raju Mishra

unread,
Aug 26, 2015, 4:46:39 PM8/26/15
to lmdbjni
Hi ,
I am using java wrapper of LMDB but I would like it to work with JDK 1.6 as we don't want to upgrade our production environment to Java 7 or 8.
I got binaries of  LMDB java wrapper compiled with JDK 1.7 and 1.8 but could not get it compiled with JDK 1.6 .
Does it even work with JDK 1.6 ? If yes then please help me with the location where I can download from ?
Any help will be highly appreciated ? Please let me know if any of you tried building source code locally with JDK 1.6 and succeeded  ?

Kristoffer Sjögren

unread,
Aug 26, 2015, 5:16:45 PM8/26/15
to lmdbjni
Hi Raju

Java 6 end of life was more than 2 years ago and Java 7 end of life was April this year.

I understand the trouble of upgrading a production environment but lmdbjni will never support anything later than Java 7.

I suggest you try convince your organization to upgrade to Java 8.

Cheers,
-Kristoffer

Raju Mishra

unread,
Aug 28, 2015, 2:01:57 PM8/28/15
to lmdbjni
Thanks for the response.
We upgraded to JDK 1.8 and got following problem. Libraries that I downloaded from net seems are compiled with "GLIBC2.14" but our linux boxes have GLIBC 2.5.
Can you please point out if any pre-compiled version (0.4.2) already available on internet that works with GLIBC 2.5. Otherwise I will need to build with source code.

Could not load library. Reasons: [no lmdbjni64-0.4.2 in java.library.path, no lmdbjni-0.4.2 in java.library.path, no lmdbjni in java.library.path, /tmp/liblmdbjni-64-0-7927722024898199024.4: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /tmp/liblmdbjni-64-0-7927722024898199024.4)]
at org.fusesource.hawtjni.runtime.Library.doLoad(Library.java:182)
        at org.fusesource.hawtjni.runtime.Library.load(Library.java:140)
        at org.fusesource.lmdbjni.JNI.<clinit>(JNI.java:41)
        at org.fusesource.lmdbjni.Env.create(Env.java:57)
        at org.fusesource.lmdbjni.Env.<init>(Env.java:51)
Reply all
Reply to author
Forward
0 new messages