[zeromq-dev] ubuntu : Error: could not find libjava.so when trying to compile java already installed

MListUser mlist.user8080 at gmail.com
Mon Dec 10 04:12:07 CET 2012


On Sun, Dec 09, 2012 at 02:18:58PM +0200, Meir Yanovich wrote:
>hello all
>i trying to compile zeromq jzmq lib in linux ,
>but when i get error when the make gettes to this point :
>     jzmq-master$ jar cf  zmq.jar org/zeromq/*.class
>    Error: could not find libjava.so
>    Error: could not find Java 2 Runtime Environment.

How does your $JAVA_HOME environment variable look like? 

fyi, it should be set to JDK/JRE directory.

[ ... ]

More information about the zeromq-dev mailing list