This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320F28335: Error loading DSS script from Java

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I'm trying to load a DSS script from outside CCS scripting console and running into some issues. I'm running on Rhino 1.7 and get the following message when I try loading the script:

SEVERE: Can not connect to DebugServer. Path not found: '/Users/bin'
SEVERE: Could not start server: DebugServer.1: Can not connect to DebugServer. Path not found: '/Users/bin'
org.mozilla.javascript.WrappedException: Wrapped com.ti.ccstudio.scripting.environment.ScriptingException: Could not start server: DebugServer.1: Can not connect to DebugServer. Path not found: '/Users/bin'

This directory did not exist so I created it, ran it again and it failed to load libti_xpcom.dylib. I found this file in <INSTALL_DIRECTORY>/ccsv6/ccs_base/DebugServer/bin so I copied this directory to /Users/bin. Now I get this error message:

Exception in thread "main" java.lang.UnsatisfiedLinkError: /Users/bin/libti_xpcom.dylib: dlopen(/Users/bin/libti_xpcom.dylib, 1): Library not loaded: @rpath/libti_logger.dylib
  Referenced from: /Users/bin/libti_xpcom.dylib
  Reason: image not found
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
...

This same script runs from CCS scripting console by running loadJSFile fileName.js.


What's the best way to call the .js scripts from Java?