Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error java.lang.UnsatisfiedLinkError: no jzmq in java.library.path in IntelliJ ide with windows 10 #470

Open
KamranShahid opened this issue Jul 17, 2018 · 0 comments

Comments

@KamranShahid
Copy link

KamranShahid commented Jul 17, 2018

I have a java project which have zeromq implementation. i have installed zeromq windows version in my windows 10 OS. When running the application i am getting above error. I have downloaded zeromq (windows) installer from http://zeromq.org/area:download and installed it in C:\ZeroMQ4.0.4 folder. Any idea what further action i have to take?

My stack overflow post is https://stackoverflow.com/questions/51319198/getting-error-java-lang-unsatisfiedlinkerror-no-jzmq-in-java-library-path-in-in?noredirect=1#comment89685761_51319198

As i am not able to successfully work it in windows i have installed it in a ubuntu 16 vm under my windows 10 machine

Steps i have run are
Installed java in ubuntu

#apt-get install -y libtool pkg-config build-essential autoconf automake uuid-dev libzmq3-dev checkinstall

Download Required Package
#wget https://github.com/zeromq/zeromq4-x/releases/download/v4.0.8/zeromq-4.0.8.tar.gz
#wget https://github.com/zeromq/jzmq/archive/v2.2.2.zip
#tar -xzf zeromq-4.0.8.tar.gz
#unzip v2.2.2.zip

Install ZMQ
#cd zeromq-4.0.8
#./configure
#make
#checkinstall it will creat deb package to be removed easily if required

ldconfig

install jzmaq
#cd jzmq-2.2.2/
#./autogen.sh
#./configure
#make
#make install

*** In case error show up --- autogen.sh: error: could not find libtool. libtool is required to run autogen.sh. run the mentioned command.
#ln -s /usr/bin/libtoolize /usr/bin/libtool

Set java_home path in ubuntu

Still i am getting same error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant