reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
onetom 2021-04-25T22:29:29.062500Z

what's the minimal jvm version required by reveal?

onetom 2021-04-25T22:32:51.065Z

im asking, because i was getting this error, when i was trying it with java8:

/nix/store/yhkh174cix87b5yfxsqvplpmvnbkx878-zulu1.8.0_202-8.36.0.1/bin/java ...
-Syntax error (UnsupportedClassVersionError) compiling at (cljfx/coerce.clj:1:1).
javafx/event/EventHandler has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
some googling reveals, that class file version 55 "means" java11. i haven't found this requirement being mentioned in https://vlaaad.github.io/reveal/ i was hoping that we can just use java8, because we are developing datomic cloud ions and the still comes with javafx bundled

seancorfield 2021-04-25T22:44:02.066Z

If Reveal won't run on Java 8, you could try REBL -- I know that works with Zulu/jfx 8.

👍 1
phronmophobic 2021-04-25T22:50:35.067300Z

It looks like that error is coming from a cljfx requirement. From cljfx's https://github.com/cljfx/cljfx#installation-and-requirements: > When depending on git coordinates, minimum required Java version is 11. When using maven dependency, both Java 8 (assumes it has JavaFX provided in JRE) and Java 11 (via openjfx dependency) are supported. You don't need to configure anything in this regard: correct classifiers are picked up automatically. It seems like it might be possible to use reveal with java 8 if you use the right maven dependency

👍 1