I\'m sure I\'m missing something really simple... I want to set the system property java.awt.headless to true for my sbt project. Reading the page on p
java.awt.headless
true
If I needed this option for all sbt tasks, I'd set it as follows in build.sbt
javaOptions += "-Djava.awt.headless=true"
If it was just for one task, eg: run, you can scope that:
javaOptions in Runtime += "-Djava.awt.headless=true"