by aboytsov · 13y ago · 0 comments
My mistake was that I didn't realize I was supposed to have Drake.jar in the same folder as the workflow that I was trying to execute (I'd keep getting the error 'Unable to access jarfile drake.jar'). Naive error, I suppose.
However, I'm still having trouble executing the 'A nicer way to run Drake' instructions. I created a file named 'drake' on my path, and inserted the given text. However, I keep getting the error
'Exception in thread "main" java.lang.NoClassDefFoundError: drake/core'
Was I supposed to alter the script in any way? I just naively copy/pasted.
You create the script as described in the documentation, and you put it somewhere on your PATH along with the JAR file. The JAR files has to be in the same directory as the script.
Sorry if it wasn't clear. I'll fix the doc.