reveal

wontheone1 2022-09-02T07:01:15.202439Z

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 🙂

vlaaad 2022-09-02T08:54:18.819959Z

http://github.com/vlaaad/vlaaad.github.io

wontheone1 2022-09-02T09:26:08.450819Z

Thanks. Please check: https://github.com/vlaaad/vlaaad.github.io/pull/13

wontheone1 2022-09-02T08:48:03.157449Z

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.

imre 2022-09-02T08:51:45.398779Z

there are jdk 8 builds that work with reveal

vlaaad 2022-09-02T08:53:28.218649Z

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

vlaaad 2022-09-02T08:53:48.986219Z

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

imre 2022-09-02T08:55:50.742049Z

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

vlaaad 2022-09-02T09:07:56.137209Z

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

imre 2022-09-02T09:12:25.472629Z

oh

imre 2022-09-02T09:13:19.346139Z

from cljfx:

imre 2022-09-02T09:13:21.559789Z

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

imre 2022-09-02T09:13:40.815169Z

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

wontheone1 2022-09-02T09:22:23.740359Z

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.

imre 2022-09-02T09:23:08.718509Z

Where are you running your repl from btw?

wontheone1 2022-09-02T09:23:44.128419Z

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

imre 2022-09-02T09:24:18.747729Z

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

wontheone1 2022-09-02T09:28:27.365579Z

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

imre 2022-09-02T09:34:40.649699Z

Might want to upvote it 😉

👍 1
💯 1
wontheone1 2022-09-02T09:36:12.595779Z

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

imre 2022-09-02T09:36:28.203399Z

I think so, thanks 🙂

👍 1
❤️ 1