thobbs / genartlib

Utilities for creating generative artwork with Clojure
MIT License
217 stars 20 forks source link

Clojure 1.11.1 error loading genartlib.random: abs does not exist #9

Closed verberktstan closed 3 months ago

verberktstan commented 1 year ago

On clojure 1.11.1, when i require genartlib.random, i get this error:

Execution error (IllegalAccessError) at genartlib.random/loading (random.clj:1).
abs does not exist
Execution error (NoClassDefFoundError) at java.lang.Class/forName0 (Class.java:-2).
Could not initialize class genartlib.random__init

When i try it with clojure 1.11.1, and i use the same version of quil (3.1.0) and quil.core/abs is present and working. But genartlib.random can't be loaded.

When i matched the clojure version with the version required in genartlib (1.10.1) atm, it works! :tada:

It's ok for me to use clojure 1.10.1, but this could possibly easily be fixed. I'll have a look into it when i have more time.

verberktstan commented 3 months ago

This appeared to be caused by java8. I switched to java17 & java21, now the problem's solved :-)

Closing this issue, peace out!