I am working with JasperStudio and SQLAnywhere. I finally was able to put the definition of DYLD_LIBRARY_PATH in the launchctl program so launching JasperStudio will correctly inherit the variable which is needed by this JDBC driver. However, while it works it seems that after awhile it stops working and will report the following error:
java.lang.UnsatisfiedLinkError: Native Library /Applications/SQLAnywhere12/System/lib32/libdbjdbc12.dylib already loaded in another classloader
Shutting down and restarting it will resolve for issue for awhile, but its a productivity killer. :-)
Any suggestions on how we might be able to fix this?