5 ms·
You don't have to have Drake.jar in the same folder as the workflow you're trying to execute. You create the script as described in the documentation, and you
by aboytsov 14y ago
You don't have to have Drake.jar in the same folder as the workflow you're trying to execute.
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.
- aboytsov 14y agoActually, it was in the doc. If you followed the instructions below precisely, just send us your terminal log so that we can see what you're missing. 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.
- fnbr 14y agoI'm embarrassed- you're completely right. My apologies. It's working perfectly now. Thanks for putting up with me!