Fork me on GitHub
#reveal
<
2021-02-24
>
walterl00:02:25

java -version
openjdk version "1.8.0_282"
OpenJDK Runtime Environment (build 1.8.0_282-8u282-b08-0ubuntu1~18.04-b08)
OpenJDK 64-Bit Server VM (build 25.282-b08, mixed mode)

walterl00:02:55

Looks like I don't have openjfx installed. Let's see if that fixes it...

walterl00:02:04

Doesn't look like it 😞

walterl00:02:32

Weird. Also does that on OpenJDK 11 o_O

walterl01:02:40

Interesting. I noticed that it didn't download the openjfx deps it does on another Ubuntu installation of mine. Turns out it works if I run from ~, but not from a project dir.

walterl01:02:12

Any ideas what -- presumably in a deps.edn -- could cause it to avoid downloading deps?

walterl01:02:29

Ha! Never mind. Somehow between switching to JDK11 and running it from ~, it sorted itself out confusedparrot

seancorfield01:02:19

You cannot get OpenJFX for JDK 8. You must either use Oracle's JDK8 (which has the original JavaFX in it), or Azul's Zulu JDK8 / JavaFX bundle. Or you have to use a more recent JDK (anyone's will do at that point). @clojurians-slack100

seancorfield01:02:19

I suspect you had a stale .cpcache folder after trying to run it in one directory, and switching to a different directory just avoided the stale cache. clj -Sforce ... should solve the problem.

walterl01:02:21

Thanks for the explanation! ❤️

walterl01:02:25

That's all new to me 🙂