about including dll files into my java program

Report crashes, strange behaviour, or apparent bugs
Post Reply
dhanunjaymitta
Posts: 6
Joined: 17 Jan 2017, 10:10

about including dll files into my java program

Post by dhanunjaymitta »

Hello,
i am a new user to v-rep. i am learning to use it with java. As i am trying to do it, it is showing like few errors:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no remoteApiJava in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at coppelia.remoteApi.<clinit>(remoteApi.java:5)
at intfc.code.main(code.java:8)

I think these are occured because of not including library files. Can anyone get me out of this?
Thanks in advance,
DhanunjayMitta

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: about including dll files into my java program

Post by coppelia »

Hello,

make sure that the appropriate Java library for the remote API is located in a path that Java can find. That Java library for the remote API can be found in programming/remoteApiBindings/java/lib. Make sure not to mix the 32 and 64 bit versions.

Cheers

Post Reply