I\'m using a pretty recent version of SBT (seems to be hard to figure out what the version is). I want to pass system properties to my application with sbt run
sbt run
I think the best is to use the JAVA_OPTS environment variable:
#update the java options (maybe to keep previous options) export JAVA_OPTS="${JAVA_OPTS} -Dmyprop=x" #now run without any extra option sbt run