I'm trying to install ZeroMQ's [Java library](https://github.com/zeromq/jzmq) but I've been having problem. First error was ./configure complained about JAVA\_HOME which everything seemed to be fine but I couldn't manage to solve it but I've found a particular solution in [ZeroMQ's chat logs](http://travlr.github.com/zmqirclog/2010-August.html).

The suggested solution was;

```
JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home" ./configure

```

However it doesn't work for me. The error message I've been receiving is

```
checking for jni.h in /Library/Java/Home/include... configure: error: cannot find jni.h in /Library/Java/Home/include.

```

I've tried `JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Home" ./configure` and `JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home" ./configure` as well but still no luck. I'd like to hear StackOverflowers' thoughts about how I can solve this.

Thanks.