I created a basic project using Leiningen + Quil and just running it without any modification gives me a Java error. I'm thinking it's because I have an OpenJDK installed. Does anyone have experience with this? Error:
user=> (use 'my-art.core :reload-all)
Execution error (ClassNotFoundException) at jdk.internal.loader.BuiltinClassLoader/loadClass (BuiltinClassLoader.java:641).
com.apple.eawt.QuitHandler
Try JDK 8 or 11?
% java -version
java version "17.0.1" 2021-10-19 LTS
Java(TM) SE Runtime Environment (build 17.0.1+12-LTS-39)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.1+12-LTS-39, mixed mode, sharing)I believe this is a known issue with Quil https://github.com/quil/quil/issues/358
Thanks, Alex!
I solved it just now by removing the JDK.
% sudo rm -rf /Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk
% java -version
java version "1.8.0_321"
Java(TM) SE Runtime Environment (build 1.8.0_321-b07)
Java HotSpot(TM) 64-Bit Server VM (build 25.321-b07, mixed mode)