If I remember right, there was configure option "--enable-java" which has
to be used as well together with "--with-java".
-Vedran


On 6 August 2013 17:44, Hasna SABAH <hasna.sa...@gmail.com> wrote:

> Thank you very much, I've been trying to install from source but it is
> still not working. I found in the README file what I need to do (I checked
> my java home, i've already installed jdk and eclipse and I can compile java
> programs) :
>
> export JAVA_HOME=/usr/lib/jvm/java-1.6.0
> then
> ./configure --with-java=$JAVA_HOME
>
> but I still obtain this error message
> java  . . . . . . . . no (dependency error)
>
> When I looked for the dependencies in java plugin webpage, I found this :
> *Java Native Interface* (JNI) / libjvm
> ruuning find gave me these two results :
>
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/server/libjvm.so
> /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/lib/i386/client/libjvm.so
> (they have different sizes)
>
> but even If I change  the export to the new path, I still have the same
> error when I run configure.
>
> Am I missing something ?
>
> Thanks in advance
>
> _______________________________________________
> collectd mailing list
> collectd@verplant.org
> http://mailman.verplant.org/listinfo/collectd
>
>
_______________________________________________
collectd mailing list
collectd@verplant.org
http://mailman.verplant.org/listinfo/collectd

Reply via email to