Open bluebear94 opened 9 years ago
I encounter a similar problem, the script cannot resolve windows path for JDK's java executable file. Here is what I got:
HTTP request sent, awaiting response... 200 OK Length: 15768731 (15M) [application/octet-stream] Saving to: ‘D:\home\john.lein/self-installs/leiningen-2.5.3-standalone.jar.pending’
D:\home\jwong.lein/se 100%[============================>] 15.04M 1.54MB/s in 13s
2015-12-08 19:47:12 (1.13 MB/s) - ‘D:\home\john.lein/self-installs/leiningen-2.5.3-standalone.jar.pending’ saved [15768731/15768731]
/cygdrive/d/home/john/bin/lein: line 359: C:\Program Files\Java\jdk1.8.0_65\bin\java.exe: command not found
(from trying to build boot-clj/boot)
JAVA_CMD
is set to/cygdrive/c/Program\ Files/Java/jdk1.8.0_51/bin/java
This error is probably caused by using a Java version built for Windows, which can't recognize such file names. However, it will be difficult to resolve since now we would need two separate variables for the Java path, and the solution is probably not worth the effort.