hello just tried to setup play-clj but lein-run keeps giving me error:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.lwjgl.LWJGLUtil$3 (file:/home/ck/.m2/repository/org/lwjgl/lwjgl/lwjgl/2.9.2/lwjgl-2.9.2.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.lwjgl.LWJGLUtil$3
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Inconsistency detected by ld.so: dl-lookup.c: 105: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
I ran lein-deps, and remember seeing lein downloading the necessary stuff from clojars.
I followed what the github readme was saying, just use lein, and then lein-run should work right away.
Anyone had similar problem or know how to fix?
I am on artix linux with xorg (maybe my window manager can be causing the problem with launching windows?)
thanksmost likely you'll need java 1.8
@julian608 Do you know how I can change java version to 1.8? I have currently java 11 installed (as websites said that is the recommended?)
@julian608 It works after changing to java 8 thank you so much
You can set the environment variable JAVA_CMD to the 1.8 executable if you don't want to change the default system version
oh I already uninstalled java11... lol I use java just for clojure so I think i'm fine with just changing the system
I had the same issue when using 3d renderers with Quil (p3d or opengl)
I think java8 is like an industry standard or something.. I see a lot of program using java8 despite there's like so many now. But still not a java expert 😛