This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-09-22
Channels
- # beginners (104)
- # bitcoin (1)
- # boot (5)
- # clara (3)
- # cljs-dev (14)
- # cljsjs (5)
- # cljsrn (1)
- # clojure (242)
- # clojure-italy (17)
- # clojure-news (13)
- # clojure-norway (3)
- # clojure-russia (101)
- # clojure-spec (41)
- # clojure-uk (87)
- # clojurescript (38)
- # core-async (38)
- # cursive (6)
- # datomic (11)
- # defnpodcast (3)
- # docs (14)
- # editors (8)
- # events (1)
- # fulcro (7)
- # hoplon (25)
- # leiningen (4)
- # luminus (7)
- # off-topic (25)
- # onyx (1)
- # portkey (14)
- # random (1)
- # re-frame (7)
- # reagent (4)
- # rum (4)
- # schema (8)
- # shadow-cljs (257)
- # spacemacs (10)
- # specter (4)
- # unrepl (3)
- # yada (1)
has anyone already tried to run leiningen with recently released java 9? 1. I tried to edit lein script for my current stable lein 2.7.1 installation to include this LEIN_SKIP_BOOTCLASSPATH thing: https://github.com/technomancy/leiningen/commit/151fbb256dd2919fb5d3a51136e8d441802267b2 but no success
lein repl
Exception in thread "main" java.lang.ClassNotFoundException: sun.misc.Launcher, compiling:(dynapath/defaults.clj:29:3)
2. I've also tried to download 2.8.0-RC1 release: https://raw.githubusercontent.com/technomancy/leiningen/2.8.0-RC1/bin/lein
However, no success again (run lein repl
in project using clojure 1.9.0-beta1):
lein repl
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by dynapath.defaults$eval380$fn__381 to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of dynapath.defaults$eval380$fn__381
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Tried to load org.tcrawley/dynapath version 0.2.3 but 0.2.5 was already loaded.
Java HotSpot(TM) 64-Bit Server VM warning: Unable to open cgroup memory limit file /sys/fs/cgroup/memory/memory.limit_in_bytes (No such file or directory)
Compiling 1 source files to /Users/jumar/workspace/clojure/clojure-repl-experiments/target/default+repl/classes
Java HotSpot(TM) 64-Bit Server VM warning: Unable to open cgroup memory limit file /sys/fs/cgroup/memory/memory.limit_in_bytes (No such file or directory)
Exception in thread "main" java.lang.ClassNotFoundException: sun.misc.Launcher, compiling:(dynapath/defaults.clj:29:3)
I've also tried to remove everything from my ~/.lein/profiles.clj and generate new empty project. I ended up with this error:
nREPL server started on port 64092 on host 127.0.0.1 -
java.lang.IllegalStateException: Could not find a suitable classloader to modify from clojure.lang.LazySeq@d35aa420
at cemerick.pomegranate$add_classpath.invokeStatic (pomegranate.clj:54)
(Both with clojure 1.8.0 and 1.9.0-beta1)I was told that if you upgrade to the latest lein and use clojure 1.9 it should all work (haven't been able to check myself)