简体   繁体   中英

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. 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.

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. Please see http://docs.oracle.com/javase/7/docs/technotes/tools/windows/classpath.html to know the option classpath for java runtime.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM