如何解决 no jzmq in java.library.path

1. 确保zmq的各种library有安装正确,检查方法:查看/usr/local/lib, 看里面有没有libjzmq.a, libjzmq.dylib, libzmq.a, libjzmq.dylib等

正确的安装方法是:(1)安装libzmq-master (2)安装zeromq-3.2.4,注意版本最好选这个,试过最新版本会报错 (3)安装jzmq-master java binding

直接搜这些关键词都能找到相应地github网页或者官网,然后按步骤输指令就行

2.看看问题是不是出在java.library.path,打开 ~/.bash_profile, 加入 export LD_LIBRARY_PATH=/usr/local/lib

这样应该就可以啦!

如何解决 no jzmq in java.library.path,布布扣,bubuko.com

时间: 2024-12-21 01:28:50

如何解决 no jzmq in java.library.path的相关文章

java.lang.UnsatisfiedLinkError:no in java.library.path解决办法

在用exe4j打包java工程后,在其他电脑运行结果出现了  java.lang.UnsatisfiedLinkError:no  in java.library.path的错误,刚开始以为是jar包没在classpath路径中,后来才发现java.library.path与classpath是两个不同的变量,后者是我们所熟知的类路径,与jar包有关:而前者与dll有关,它指定dll文件搜索路径. 在我的工程中,用到了第三方jar包和dll文件,dll文件放在了工程根目录,在eclipse中

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path 问题的解决

Tomcat 启动出现信息如下: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:XXXX 出现原因分析: Tomcat建议使用apache的apr,来更好的运行Tomcat; ---------------------------------------

解决tomcat启动出现in production environments was not found on the java.library.path:xxx

如图所示,Eclipse中启动tomcat时出现not found on the java.library.path等信息,可以通过下载tomcat-native-1.1.32-win32-bin.zip,解压,对应系统是32位.64位,把tcnative-1.dll文件复制到$JAVA_HOME/bin下,重启tomcat即可解决!

java.lang.UnsatisfiedLinkError:no dll in java.library.path终极解决之道

 Java调用Dll时,会出现no dll in java.library.path异常,在Java Project中不常见,因为只要将Dll拷贝到system32目录下即可:         但若是在Web Project中则经常遇见,因为Web Project引用的 java.library.path  有两处(jre的bin目录和Tomcat的bin目录) 因此解决方法如下: 1.在项目中执行System.out.println(System.getProperty("java.libra

no libsigar-amd64-linux.so in java.library.path 解决方法

关于sigar的介绍可以参考这边博文 :https://www.cnblogs.com/luoruiyuan/p/5603771.html 在Linux上运行java程序时出现 no libsigar-amd64-linux.so in java.library.path 这个错误时只需将两个文件拷到你的工程下的lib包下即可 libsigar-amd64-linux.so libsigar-x86-linux.so 下载地址: https://download.csdn.net/downloa

no leveldbjni64-1.8 in java.library.path

在抽取以太坊Java版本的Trie树部分时,遇到了一个问题: Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no leveldbjni64-1.8 in java.library.path, no leveldbjni-1.8 in java.library.path, no leveldbjni in java.library.path] at

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path

今天 ,我在Eclipse中启动Tomcat6.0时,发生如下异常: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:..... 解决如下: 在http://tomcat.heanet.ie/native/下载dll文件:tcnative-1.dll(现在版本是1.1.14) 把它扔

使用Snappy 压缩方式报错“java.lang.UnsatisfiedLinkError: no snappyjava in java.library.path”

情况描述 其实这个问题已经困扰我很久了,最近在公司Linux上搭建hadoop 和 spark环境的时候,我就遇到 spark提交作业到yarn 集群就报错这个错,当时已经安装snappy环境了,任何关于snappy静态库都编译了,这是我提交到spark mail list上的http://apache-spark-user-list.1001560.n3.nabble.com/java-lang-UnsatisfiedLinkError-no-snappyjava-in-java-librar

IDEA搭建ssm框架测试衍生出的问题The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;

最近玩起IDEA这开发工具,搭建ssm框架测试时,部署项目出现如下问题: 信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: D:\Develop\jdk7\jdk1.7.0_79\bin;C:\Windows\Sun\Java\bin;C:\Windows