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)