reveal

frankitox 2021-04-26T12:32:13.069300Z

Just yesterday I tried reveal with Oracle's JDK 8 (If you like OpenJDK you could try Zulu's build)

vlaaad 2021-04-27T07:16:53.069700Z

A bit of context: java 8 had javafx built in, and it’s distributed as separate artifact only since java 11. Because of that, cljfx (that reveal is built on) uses maven magic to depend on openjfx only if jdk is 11 or later. If you use JDK 8, you need to have a distribution with javafx built in (some jdk 8 distributions exclude javafx). Wiping out .cpcache is needed because of the maven magic — tools-deps assume resulting classpath is a function of explicitly specified deps, but in case of cljfx it’s explicitly specified deps+currently used jdk

👍 2
onetom 2021-04-27T03:43:56.069500Z

so it worked as expected? which zulu version have u used? as u see from my earlier message, i tried with /nix/store/yhkh174cix87b5yfxsqvplpmvnbkx878-zulu1.8.0_202-8.36.0.1/bin/java (i haven't tried the rm .cpcache yet, so im still not sure if that would solve my problem)

frankitox 2021-04-28T18:04:03.070400Z

I didn't try Zulu's, but I think that's the one Sean is using (Oracle's JDK is working for me).

vlaaad 2021-04-26T05:11:59.069Z

@onetom Reveal should work with java 8. Do you use tools-deps? You might need to remove .cpcache for tools-deps to recalculate dependencies when switching between java versions

onetom 2021-04-26T05:13:42.069100Z

indeed, i haven't thought about removing the .cpcache. i'll give it a try after lunch. thx!