emacs - Which JVM version will CIDER run under on Windows -


is there way force cider use particular version of jvm?

i've been updating number of projects use released java 8 including clojure projects depend on java interop. however, i've run problems tools during development. 1 of when using cider emacs. can't seem use java 8 jvm.

i have jdk versions 1.7.0_17, _21, _25, _40, _45, _51, , 1.8.0 installed on system compatibility testing.

when launch cider repl , check java version, see this:

; cider 0.6.0alpha (package: 20140322.332) (clojure 1.6.0, nrepl 0.2.3) eight-queens.core> (system/getproperty "java.version") "1.7.0_25" 

i saw similar results when using nrepl, before updating cider. see similar results when using repl within light table. things work expected using clojure repl launched command line.

my java-related environment variables include:

path contains: c:\program files\java\jdk1.8.0\bin\

java_home: c:\program files\java\jdk1.8.0

lein_java_cmd: c:\program files\java\jdk1.8.0\bin\java

(leiningen launched command shell within emacs produced similar problem before adding lein_java_cmd environment variable. oddly, adding environment variable changed version of jvm used cider. before adding environment variable, reported using version 1.7.0_40.)

i haven't found seems relevant in windows registry.

is there way force cider run particular jvm short of uninstalling else?

cider (or cider-jack-in more specific) uses lein start repl (using lein repl command). i'm not sure how windows cmd.exe, assume haven't set lein_java_cmd global env variable , that's why doesn't affect cmd.exe shell emacs spins lein repl.


Comments

Popular posts from this blog

PHPMotion implementation - URL based videos (Hosted on separate location) -

javascript - Using Windows Media Player as video fallback for video tag -

c# - Unity IoC Lifetime per HttpRequest for UserStore -