Fork me on GitHub
#reveal
<
2022-09-02
>
wontheone107:09:15

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 馃檪

wontheone108:09:03

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.

imre08:09:45

there are jdk 8 builds that work with reveal

vlaaad08:09:28

it should work with jdk8, but you need to force re-download of deps

vlaaad08:09:48

e.g. when using clj , do clj -Sforce once after switching the JDK

imre08:09:50

; 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    | 

vlaaad09:09:56

My comment in that cljfx issue is no longer valid, cljfx supports both jdk 8 and jdk 11

imre09:09:19

from cljfx:

imre09:09:21

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

imre09:09:40

so for 8 you need to either have the oracle jdk or something else that includes fx

wontheone109:09:23

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.

imre09:09:08

Where are you running your repl from btw?

wontheone109:09:44

It's IDEA plugin Cursive repl (clojure.main repl)

imre09:09:18

In that case you will probabaly run into https://github.com/cursive-ide/cursive/issues/2549 as well

wontheone109:09:27

Oh, cool. So this is a problem of Cursive. I encountered this exact problem. I fixed mine by just switching to Java 11.

imre09:09:40

Might want to upvote it 馃槈

馃憤 1
馃挴 1
wontheone109:09:12

I gave the thumbs up. Is that how you upvote it ?

imre09:09:28

I think so, thanks 馃檪

馃憤 1
鉂わ笍 1