quil

Vinicius Vieira Tozzi 2022-03-14T10:17:12.822149Z

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

leifericf 2022-03-15T07:35:24.610659Z

@viniciustozzi 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.

plexus 2022-03-15T13:54:22.599579Z

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

leifericf 2022-03-14T16:41:28.631979Z

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 Tozzi 2022-03-14T18:28:32.675749Z

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 Tozzi 2022-03-14T18:29:00.609239Z

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

Vinicius Vieira Tozzi 2022-03-14T10:18:39.962719Z

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 Tozzi 2022-03-14T12:44:46.704589Z

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 Tozzi 2022-03-14T12:48:52.457739Z

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