.vcxproj eclipse Java VREP

This is the text of V-REP:

To use the remote API functionality in your Java application, you will need following 2 items:

  • package coppelia (containing 12 Java classes)
  • remoteApiJava.dll, libremoteApiJava.dylib or libremoteApiJava.so (depending on your target platform).

Above files are located in V-REP's installation directory, under programming/remoteApiBindings/java. You might have to build the remoteApiJava shared library yourself (using remoteApiSharedLibJava.vcproj or remoteApiSharedLibJava_Makefile) if not already built. In that case, make sure you have defined NON_MATLAB_PARSING and MAX_EXT_API_CONNECTIONS=255 (and optionally DO_NOT_USE_SHARED_MEMORY) as a preprocessor definition.

  • First: I create a package and put the classes of coppelia package
  • Second: I think I did right the second (.dll) Here's the link I follow
  • Third: I didn't do strong part above.

These are the errors in my code:

  1. Exception in thread "main" java.lang.UnsatisfiedLinkError: no remoteApiJava in java.library.path
  2. at java.lang.ClassLoader.loadLibrary(Unknown Source)
  3. at java.lang.Runtime.loadLibrary0(Unknown Source)
  4. at java.lang.System.loadLibrary(Unknown Source)
  5. at coppelia.remoteApi.(remoteApi.java:6)
  6. at vrep_pack.vrep_main.main(vrep_main.java:7)