I am working on a Java project set up with Maven. I have set up my pom to include all dependencies and create a jar with dependencies using the appropriate maven plugin. The RTI nddsjava library has been loaded onto my maven repository server, but for some reason, when I try to load classes in nddsjava (such as com.rti.dds.domain.DomainParticipant). Any suggestions on how I can create a jar with all dependencies completely self-contained that runs?
Are you running into problems during runtime or packaging? Your statement above is the symptoms of the problem that you're running into.
The Java binding for RTI Connext relies on 3 native libraries. So, if you're running into runtime issues, then you'll need to package these libraries as part of your deliverable. Also, these libraries will need to be made available on the dynamic library loading path (PATH on Windows, LD_LIBRARY_PATH on *nix, DYLD_LIBRARY_PATH on Mac OS X).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With