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.
A nicer way to run Drake
We recommend you "install" Drake in your environment so that you can run it by just typing "drake". Here's a convenience script you can put on your path:
#!/bin/bash
java -cp $(dirname $0)/drake.jar drake.core $@
Save that as `drake`, then do `chmod 755 drake`. Move the uberjar to be in the same directory. Now you can just type `drake` to run Drake from anywhere.