Fork me on GitHub
#tools-deps
<
2019-05-04
>
yuhan09:05:57

how do I add jvm-opts via the clj command?

yuhan09:05:58

clj -Djdk.attach.allowAttachSelf does not work

yuhan09:05:52

right, I figured it out - clj -J-Djdk.attach.allowAttachSelf

yuhan09:05:54

but to add it to my deps.edn file I can't just insert :jvm-opts ["-Djdk.attach.allowAttachSelf"] at the top level?

Alex Miller (Clojure team)10:05:14

No, that’s an outstanding issue. You will need to put it in an alias and use the alias