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)
Looks like I don't have openjfx
installed. Let's see if that fixes it...
Doesn't look like it 😞
Weird. Also does that on OpenJDK 11 o_O
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.
Any ideas what -- presumably in a deps.edn -- could cause it to avoid downloading deps?
Ha! Never mind. Somehow between switching to JDK11 and running it from ~
, it sorted itself out :confusedparrot:
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
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.
Thanks for the explanation! ❤️
That's all new to me 🙂