quil 2019-07-02

@bravilogy has joined the channel

hi everyone. having issues with quil. I basically do

lein new quil my-app
cd my-app
lein run
and I get an error Exception in thread "main" java.lang.ExceptionInInitializerError, compiling:(quil/core.cljc:1:1)

could this be related to my java version?

Alex Miller (Clojure team) 2019-07-02T14:20:31.013600Z

unlikely, but possibly. what's java -version?

Alex Miller (Clojure team) 2019-07-02T14:21:44.014300Z

things like ~/.lein/profiles.clj can sometimes affect things too

java 12 2019-03-19
Java(TM) SE Runtime Environment (build 12+33)
Java HotSpot(TM) 64-Bit Server VM (build 12+33, mixed mode, sharing)

that's my java

Alex Miller (Clojure team) 2019-07-02T14:24:08.015300Z

Should be fine

and there's just repl-history in my ~/.lein folder

Alex Miller (Clojure team) 2019-07-02T14:24:21.015700Z

That’s good

Alex Miller (Clojure team) 2019-07-02T14:24:57.016400Z

I have same setup and that quil app works for me

Alex Miller (Clojure team) 2019-07-02T14:25:50.016800Z

Is there any other output when it fails?

Alex Miller (Clojure team) 2019-07-02T14:27:58.017100Z

what's your lein -v?

Leiningen 2.9.1 on Java 12 Java HotSpot(TM) 64-Bit Server VM

so the whole output is the following

I can't see anything helpful in there 😄

Alex Miller (Clojure team) 2019-07-02T14:30:49.018800Z

the end is the helpful bit

this one? java.lang.StringIndexOutOfBoundsException:

Alex Miller (Clojure team) 2019-07-02T14:31:09.019300Z

it's trying to parse the java version name

Alex Miller (Clojure team) 2019-07-02T14:33:05.019900Z

they changed the way that was reporting in Java and the Processing code looks like it's not doing the right thing to me

so it looks like it's java related, right?

Alex Miller (Clojure team) 2019-07-02T14:34:26.020800Z

yeah, I would suggest installing java 8 - I suspect that will work

Alex Miller (Clojure team) 2019-07-02T14:38:04.022100Z

probably worth feeding this info back to wherever quil has getting started instructions

cool thanks, I'll try that 🙂