Since upgrading the MacOS to 10.13.6 I had to update ForexConnect (I chose 1.5 stable build), but then my Java program wouldn't run because I kept getting loader errors that it couldn't find the @rpath relative dynamic libraries. I fixed that by moving all the dylib files it complained about down into the same folder as fxcore2.jar. But what is the correct way to do this, because I shouldn't have to be moving dylib files around.
I'm using Eclipse to build my jar file, and it includes the dylib files in the jar, so Eclipse finds everything correctly. Is there some classpath or other runtime parameter I need to pass to Java in order for @rpath to be set to find the dylibs as they were distributed? I'm hoping if I can set that to resolve the loader issue, I will no longer need to include the dylib files in my jar, that would be a bonus.
Thanks,
Rik