yahoo / mdbm

MDBM a very fast memory-mapped key/value store.
BSD 3-Clause "New" or "Revised" License
992 stars 111 forks source link

Dynamic Java installation path detection #83

Open QubitPi opened 6 years ago

QubitPi commented 6 years ago

https://github.com/yahoo/mdbm/blob/master/src/java/Makefile#L18-L19 causes Java wrapper compile error on machine that has a different Java installation like

/usr/lib/jvm/java-8-openjdk-amd64/include/ instead of /usr/lib/jvm/java/include and /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64 instead of /usr/lib/jvm/java/jre/lib/amd64/

User have to manually replace/fix this

I can work on fixing it if needed. :wink: