Fork me on GitHub
#quil
<
2022-03-14
>
Vinicius Vieira Tozzi10:03:12

Hi, this seems pretty cool, I tried to run one of the examples here but I am having this error:

Syntax error (ClassNotFoundException) compiling at (cljbox2d_test/core.clj:55:1).
com.apple.eawt.QuitHandler
I am using a Mac mini with M1 processor, I am not sure this matters

leifericf16:03:28

It sounds like you may have stumbled upon https://github.com/quil/quil/issues/225. I posted a workaround in the comments there some weeks ago. There is also a https://groups.google.com/g/clj-processing/c/M9UmLZ6wmXw in Google Groups.

Vinicius Vieira Tozzi18:03:32

Hi thanks for the answer, yeah it seems that its really the same issue, but using the version 4.0.0-SNAPSHOT from quil fixed the issue for me

👍 1
Vinicius Vieira Tozzi18:03:00

I dont think it’s a definitive solution as it seems that for some people in this thread this did not worked, but at least for me now it works fine

leifericf07:03:24

@U027MB6K8RM Yeah, it seems like people are having subtly different issues with different versions of macOS, Java, Clojure, and Quil. The “trick” is to find the right combination. I was fiddling around with it quite a lot before I found something that worked on my system. As you observe, it doesn’t seem to work for everyone.

plexus13:03:22

We're starting to default to quil 4 so hopefully fewer people will have this issue

Vinicius Vieira Tozzi10:03:39

I noticed if I try a basic quill project by doing

lein new quill my-sketch
I also have the same error, so it’s probably not related to cljbox2d

Vinicius Vieira Tozzi12:03:46

that’s my java version

openjdk 17.0.2 2022-01-18
OpenJDK Runtime Environment (build 17.0.2+8-86)
OpenJDK 64-Bit Server VM (build 17.0.2+8-86, mixed mode, sharing)

Vinicius Vieira Tozzi12:03:52

Now it works for me, in case someone has the same issue, using version 4.0.0-SNAPSHOT-1 from quill fixed. [quil "4.0.0-SNAPSHOT-1"]

👍 1