Open federico-lox opened 5 years ago
Getting the same error with adoptopenjdk 8 - openJ9. Even though java is on the path.
Known issue, nothing we can do about it at the moment. See #602
Hi, i got boot 2.8.2 working on Windows 10 Pro 64bit with adoptopenjdk, both installed with scoop.
PS C:\Users\thomas> boot --version
#http://boot-clj.com
#Mon Jan 28 19:29:21 CET 2019
BOOT_VERSION=2.8.2
BOOT_CLOJURE_VERSION=1.8.0
BOOT_CLOJURE_NAME=org.clojure/clojure
PS C:\Users\thomas> java --version
openjdk 11.0.1 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13)
Eclipse OpenJ9 VM AdoptOpenJDK (build openj9-0.11.0, JRE 11 Windows 10 amd64-64-Bit Compressed References 20181115_19 (JIT enabled, AOT enabled)
OpenJ9 - 090ff9dcd
OMR - ea548a66
JCL - d4455071ce based on jdk-11.0.1+13)
i used a workaround from here and changed it like so:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment]
"CurrentVersion"="11.0"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\JavaSoft\Java Runtime Environment\11.0]
"JavaHome"="C:\\Users\\thomas\\scoop\\apps\\adoptopenjdk-openj9\\current"
"MicroVersion"="0"```
Put this stuff into a file like: thisreallysux.reg, then open regedit and import the file.
Problem Description
Running
boot.exe
results in:Leiningen (via
lein.bat
) works as expected on the exact same setup. I was able to get boot working in bash (from the Git BASH distribution) usingboot.sh
, but boot.exe results in the message above using both cmd.exe and PowerShell.Steps to reproduce
PATH
env variableboot.exe
Platform details
Platform (macOS, Linux, Windows): Windows Platform version: 10 Home JRE/JDK version (
java -version
):Boot details
Boot version (2.7.1):
build.boot
present? (yes/no): no, first invocation~/.boot/profile
present? (yes/no): no, first invocation Task name? (if applicable): none, first invocation