Fork me on GitHub
#leiningen
<
2018-09-02
>
deliciousowl11:09:27

Hey everyone, when I try to run lein run migrate it says cannot create JVM and it dies

deliciousowl11:09:40

unrecognized option: --add-modules

gfredericks13:09:53

what version of jdk are you using?

gfredericks13:09:57

lein version should report that

Alex Miller (Clojure team)13:09:10

Modules were added in Java 9

deliciousowl16:09:54

I took it out and now it works fine but still, huh?

deliciousowl16:09:14

all the app templates have it included so I have to take it out

gfredericks16:09:49

the most reasonable guess I would have is that you're somehow not using java 10

deliciousowl16:09:44

> lein version Leiningen 2.8.1 on Java 10.0.2 Java HotSpot(TM) 64-Bit Server VM

gfredericks16:09:33

yeah I don't have any detailed theory to reconcile these data points