[英]Azure storage jars are not loading in JAVA RMI Server Code not reachable
We have included the Azurestorage.jar
, jackson.jar
, slf4j.jar
to our projects which contains RMI Server class. 我们已将
Azurestorage.jar
, jackson.jar
, slf4j.jar
包含到我们的包含RMI Server类的项目中。 But when we execute from .exe and communicate to RMI server, the azure storage class connectivity is not established but the same is working for batch file. 但是,当我们从.exe执行并与RMI服务器进行通信时,未建立Azure存储类连接,但对于批处理文件也是如此。
What are we doing wrong? 我们做错了什么?
Per my experience, It seems that you might not set the option -cp
or -classpath
for importing jar files to at the startup of java.exe
which the .exe
as you said. 根据我的经验,似乎您可能没有在
java.exe
启动时将选项导入到jar文件的选项-cp
或-classpath
为.exe
。 Please see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html to know the option classpath
for java runtime. 请参阅http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html以了解Java运行时的选项
classpath
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.