This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-02-23
Channels
- # announcements (11)
- # architecture (14)
- # babashka (34)
- # bangalore-clj (8)
- # beginners (108)
- # calva (10)
- # cider (19)
- # circleci (9)
- # clj-kondo (19)
- # clojars (4)
- # clojure (62)
- # clojure-australia (2)
- # clojure-europe (62)
- # clojure-italy (14)
- # clojure-nl (8)
- # clojure-poland (1)
- # clojure-spec (14)
- # clojure-uk (59)
- # clojurescript (14)
- # community-development (5)
- # conjure (2)
- # core-async (10)
- # cryogen (1)
- # cursive (11)
- # data-science (1)
- # datahike (13)
- # datomic (21)
- # deps-new (4)
- # ethereum (1)
- # events (4)
- # fulcro (34)
- # helix (2)
- # jobs (2)
- # juxt (33)
- # kaocha (4)
- # lsp (18)
- # malli (4)
- # membrane (2)
- # off-topic (23)
- # re-frame (3)
- # reitit (4)
- # remote-jobs (1)
- # reveal (6)
- # shadow-cljs (47)
- # slack-help (2)
- # spacemacs (5)
- # sql (45)
- # startup-in-a-month (6)
- # testing (4)
- # tools-deps (21)
- # xtdb (4)
Odd. I'm getting this trying to start Reveal:
❯ clj -Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.196"}}}' -m vlaaad.reveal repl
Syntax error (ClassNotFoundException) compiling at (cljfx/coerce.clj:1:1).
javafx.event.EventHandler
any ideas?@clojurians-slack100 What does java -version
say?
(this sounds like a JDK/JavaFX mismatch)
I get that error trying to run Reveal on JDK8 (without JavaFX):
(! 739)-> JAVA_HOME=$OPENJDK8_HOME clj -Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.196"}}}' -m vlaaad.reveal repl
WARNING: When invoking clojure.main, use -M
Syntax error (ClassNotFoundException) compiling at (cljfx/coerce.clj:1:1).
javafx.event.EventHandler
But it works if I use the Azul Zulu JDK8 with JavaFX bundle:
(! 740)-> JAVA_HOME=$ZULUJDK8_HOME clj -Sdeps '{:deps {vlaaad/reveal {:mvn/version "1.3.196"}}}' -m vlaaad.reveal repl
WARNING: When invoking clojure.main, use -M
Clojure 1.10.2
user=> ^D
Tue Feb 23 15:07:49
(sean)-(jobs:0)-(~/clojure)
(! 741)-> echo $ZULUJDK8_HOME
/Developer/zulu8.48.0.53-ca-fx-jdk8.0.265-macosx_x64
(and it should work on any JDK 11 onward)