Regarding "Setup: Cursive + Clj + REPL". There seems to be repetition. I don't know which repo holds this doc so I could not make PR 🙂
https://github.com/vlaaad/vlaaad.github.io/blob/master/reveal-setup.md
Thanks. Please check: https://github.com/vlaaad/vlaaad.github.io/pull/13
Also I realized, that Reveal can be used with JDK 11 (but not with JDK 8 ). Probably related to: https://github.com/cljfx/cljfx/issues/4 It would be nice if this was mentioned in Reveal setup documentation. The following is the error I get when starting up REPL with JDK 8.
there are jdk 8 builds that work with reveal
it should work with jdk8, but you need to force re-download of deps
e.g. when using clj , do clj -Sforce once after switching the JDK
; sdk list java | grep '\s8.*fx'
| | 8.0.345.fx | librca |
| | 8.0.342.fx | librca |
| | 8.0.333.fx | librca |
| | 8.0.345.fx | zulu |
| | 8.0.342.fx | zulu |
| | 8.0.332.fx | zulu |
My comment in that cljfx issue is no longer valid, cljfx supports both jdk 8 and jdk 11
oh
from cljfx:
When depending on git coordinates, minimum required Java version is 11. When using maven dependency, both Java 8 (assumes it has JavaFX provided in JRE) and Java 11 (via openjfx dependency) are supported
so for 8 you need to either have the oracle jdk or something else that includes fx
Thanks for the clarification, anyways, some sort of explanation on this issue on the doc would be nice. I think other people can encounter the same.
Where are you running your repl from btw?
It's IDEA plugin Cursive repl (clojure.main repl)
In that case you will probabaly run into https://github.com/cursive-ide/cursive/issues/2549 as well
Oh, cool. So this is a problem of Cursive. I encountered this exact problem. I fixed mine by just switching to Java 11.
Might want to upvote it 😉
I gave the thumbs up. Is that how you upvote it ?
I think so, thanks 🙂