Tool/software: Code Composer Studio
I have a .java file that I'm using to write to specific sections of flash on my board. I'm using the dss java libraries.
I create a .class file by running this on terminal:
javac -cp "/Applications/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.ccstudio.scripting.environment_3.1.0.jar":"/Applications/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/com.ti.debug.engine_1.0.0.jar":"/Applications/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/dss.jar" flasher.java
then I run the .class:
java -cp ".":"/Applications/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java/dss.jar":"/Applications/ti/ccsv6/ccs_base/DebugServer/packages/ti/dss/java" flasher
I'd like to create a single .jar file that I can call from the terminal.
So far i've tried commands like:
jar -cfve flasher.jar main flasher.class
When I run the .jar file that this generates I get errors like 'could not find or load main class flasher.jar'.
What's the right way to compile a .jar file using all the dss libraries?