This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-24
Channels
- # aleph (19)
- # announcements (59)
- # asami (34)
- # aws (1)
- # babashka (17)
- # beginners (174)
- # bitcoin (11)
- # calva (16)
- # chlorine-clover (5)
- # cider (5)
- # clj-kondo (14)
- # cljsrn (13)
- # clojars (25)
- # clojure (124)
- # clojure-australia (1)
- # clojure-europe (48)
- # clojure-nl (4)
- # clojure-spec (1)
- # clojure-uk (40)
- # conjure (6)
- # core-async (25)
- # cursive (30)
- # data-oriented-programming (3)
- # datomic (14)
- # depstar (14)
- # emacs (3)
- # graalvm (27)
- # helix (1)
- # honeysql (25)
- # hoplon (3)
- # jobs-discuss (6)
- # kaocha (3)
- # lsp (109)
- # lumo (1)
- # malli (5)
- # meander (21)
- # music (1)
- # pathom (1)
- # re-frame (4)
- # reitit (1)
- # remote-jobs (1)
- # reveal (11)
- # rewrite-clj (3)
- # shadow-cljs (42)
- # spacemacs (15)
- # sql (13)
- # startup-in-a-month (4)
- # tools-deps (45)
- # vim (16)
- # xtdb (23)
- # yada (1)
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)
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
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.