openvenues / jpostal

Java/JNI bindings to libpostal for for fast international street address parsing/normalization
MIT License
106 stars 44 forks source link

Need help using jpostal #9

Closed didibus closed 7 years ago

didibus commented 8 years ago

I apologize in advance, as I am unfamiliar with C, make, gradle, and JNI.

I have build libpostal successfully, and I've built jpostal successfully, but I'm confused about the built artifact created.

Where are the libpostal libs? Where are the jpostal libs?

What should my java build path include to be able to import jpostal from Java?

My eventual goal is that I can copy everything I need to use libpostal from java into a folder that I can move around and then just have that folder added to my Java path so I can use it from java. This is so I can deploy my java app that uses libpostal to a fleet of servers, without having to on each server, run all the commands needed to install libpostal and jpostal.

Any pointers? Thanks

albarrentine commented 8 years ago

See #7

I'm not a huge Java user, so this binding is more of a proof-of-concept. Happy to merge pull requests if you want to give packaging a shot.