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?
unlikely, but possibly. what's java -version
?
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
Should be fine
and there's just repl-history
in my ~/.lein
folder
That’s good
I have same setup and that quil app works for me
Is there any other output when it fails?
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 😄
¯\(ツ)/¯
the end is the helpful bit
this one? java.lang.StringIndexOutOfBoundsException:
it's trying to parse the java version name
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?
yeah, I would suggest installing java 8 - I suspect that will work
looks like using 8u202 from https://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html is best bet
https://github.com/processing/processing/wiki/Supported-Platforms#java-versions
probably worth feeding this info back to wherever quil has getting started instructions
cool thanks, I'll try that 🙂