clj-on-windows 2021-04-15

bb works. deps.bat just returns silently, $LASTEXITCODE contains 0. Here follows some new clues I picked up:

bb clojure and java -jar <path-to.jar>\deps.clj.jar both work if I run them from the project directory of the deps.clj repository. • None of them work from any other directory I’ve tried. • clj and clojure both give me the message Error: Could not find or load main class clojure.main

Now, if we could find out what makes deps.clj work in its project directory, maybe we can “fix” that so that I can start println my way to some more clues by running it in dev?

@pez Please add some prn in the arguments to the java processes. There is a shell-command function where you can just hook this in. And then make an uberjar with lein uberjar and then try it out again in the failing state.

PS C:\Users\Public> java -jar .\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.822\\ClojureTools\\clojure-tools-1.10.3.822.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn" "--config-project" "deps.edn" "--basis-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis" "--libs-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs\"\"" "--cp-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.cp\"\"" "--jvm-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.jvm\"\"" "--main-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.main\"\""]
Error building classpath. C:\Users\Peter (Access is denied)
java.io.FileNotFoundException: C:\Users\Peter (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)

And from the project directory:

PS C:\Users\Peter Strömberg\win-proj\deps.clj> java -jar C:\Users\Public\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Dclojure.basis=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.basis" "-Dclojure.libfile=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.libs" "-classpath" "src;resources;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\core.specs.alpha\\0.2.56\\core.specs.alpha-0.2.56.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\spec.alpha\\0.2.194\\spec.alpha-0.2.194.jar" "clojure.main"]
Clojure 1.10.3
user=>

@pez It seems there are newlines after the space. Possibly related to TDEPS-56. https://github.com/clojure/brew-install/blob/1.10.3/CHANGELOG.md Can you reset to SHA a301f478f42452c829d92260a14fff8e8fcfea1a which is based on 1.10.384 and try again?

Now having a look at it. I don’t know where to reset the SHA. 😃

git reset <sha> --hard

in the project

and then re-build the uberjar

Thanks. Same problem, though:

PS C:\Users\Public> java -jar .\deps.clj-0.0.12-SNAPSHOT-standalone.jar
Could not find C:\Users\Peter Str÷mberg\.deps.clj\1.10.3.814\ClojureTools\clojure-tools-1.10.3.814.jar
Attempting download from 
Error building classpath. C:\Users\Peter (Access is denied)
java.io.FileNotFoundException: C:\Users\Peter (Access is denied)
        at java.io.FileOutputStream.open0(Native Method)

can you still put those prn in there or do you have the same output?

From the project dir:

PS C:\Users\Peter Strömberg\win-proj\deps.clj> java -jar .\target\deps.clj-0.0.12-SNAPSHOT-standalone.jar          
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.814\\ClojureTools\\clojure-tools-1.10.3.814.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn" "--config-project" "deps.edn" "--basis-file" ".cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.basis" "--libs-file" "\"\".cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.libs\"\"" "--cp-file" "\"\".cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.cp\"\"" "--jvm-file" "\"\".cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.jvm\"\"" "--main-file" "\"\".cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.main\"\""]
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Dclojure.basis=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.basis" "-Dclojure.libfile=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.libs" "-classpath" "src;resources;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\core.specs.alpha\\0.2.56\\core.specs.alpha-0.2.56.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\spec.alpha\\0.2.194\\spec.alpha-0.2.194.jar" "clojure.main"]
Clojure 1.10.3

Hmm, it seems the newlines aren't there this time

Outside project dir:

PS C:\Users\Public> java -jar .\deps.clj-0.0.12-SNAPSHOT-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.814\\ClojureTools\\clojure-tools-1.10.3.814.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn" "--config-project" "deps.edn" "--basis-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis" "--libs-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs\"\"" "--cp-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.cp\"\"" "--jvm-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.jvm\"\"" "--main-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.main\"\""]
Error building classpath. C:\Users\Peter (Access is denied)
java.io.FileNotFoundException: C:\Users\Peter (Access is denied)

I see a difference here between the --basis-file: this contains the path with space as well whereas in the first example it doesn't

Can you perhaps try that commit and run again?

PS C:\Users\Peter Strömberg\win-proj\deps.clj> cp target\deps.clj-0.0.13-standalone.jar C:\Users\Public\
PS C:\Users\Peter Strömberg\win-proj\deps.clj> java -jar C:\Users\Public\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Dclojure.basis=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.basis" "-Dclojure.libfile=.cpcache\\1B6891D24236BC1B9DA7E4ED8F979305.libs" "-classpath" "src;resources;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\core.specs.alpha\\0.2.56\\core.specs.alpha-0.2.56.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\spec.alpha\\0.2.194\\spec.alpha-0.2.194.jar" "clojure.main"]
Clojure 1.10.3
user=>

PS C:\Users\Public> java -jar .\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.822\\ClojureTools\\clojure-tools-1.10.3.822.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn\"\"" "--config-project" "\"\"deps.edn\"\"" "--basis-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis\"\"" "--libs-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs\"\"" "--cp-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.cp\"\"" "--jvm-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.jvm\"\"" "--main-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.main\"\""]
Error building classpath. C:\Users\Peter (Access is denied)
java.io.FileNotFoundException: C:\Users\Peter (Access is denied)

don’t know if you want the output from both still, so please stop me if you only want it from the failing one ¯\(ツ)

Maybe you should tunnel in to my machine. 😄

I’m fine with being your remote, though, so that was mostly a joke. (But also an offer, up to you.)

so the classpath arg isn't double quoted here but the rest seems to be

let me try to apply the same thing for the classpath

Please try commit bf4bf48df67fbd0932ab65021cea580d4d3230d5 (you will have to run git fetch first)

A new error at least 😃

PS C:\Users\Public> java -jar .\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "\"\"C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.822\\ClojureTools\\clojure-tools-1.10.3.822.jar\"\"" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn\"\"" "--config-project" "\"\"deps.edn\"\"" "--basis-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis\"\"" "--libs-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs\"\"" "--cp-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.cp\"\"" "--jvm-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.jvm\"\"" "--main-file" "\"\"C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.main\"\""]
Error: Could not find or load main class Strömberg\.deps.clj\1.10.3.822\ClojureTools\clojure-tools-1.10.3.822.jar

It still works in the project dir. Let me know if you want the output.

you know, using this print out there has to be some way to make it work by manipulating this and iterating on this in powershell

without depending on deps.clj since you can just try this output as is

and maybe we can then figure it out where it's not right

> Error: Could not find or load main class Strömberg\.deps.clj\1.10.3.822\ClojureTools\clojure-tools-1.10.3.822.jar This seems to indicate that part of the classpath is interpreted as the main class

let me try to remove all double quotes, maybe that helps ;)

SHA: ce7f9d9db4fc498841ccbb36c510720f45ed798f

I can iterate on the output in powershell, certainly. Just haven’t really given a thought to what it is I am printing. 😃

Will try new SHA now.

What is printed here is what the clojure CLI normally produces to invoke java

it's all Java in the end you know

Yeah, it is like with Calva jack-in. I just was in this remote-controlled mode 😃

PS C:\Users\Public> java -jar .\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.822\\ClojureTools\\clojure-tools-1.10.3.822.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn" "--config-project" "deps.edn" "--basis-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis" "--libs-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs" "--cp-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.cp" "--jvm-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.jvm" "--main-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.main"]  
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Dclojure.basis=C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis" "-Dclojure.libfile=C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs" "-classpath" "src;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\core.specs.alpha\\0.2.56\\core.specs.alpha-0.2.56.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\spec.alpha\\0.2.194\\spec.alpha-0.2.194.jar" "clojure.main"]
Clojure 1.10.3
user=> 

it works now?

cool. can you also try from cmd.exe?

Should I try using cmd.exe?

I'm not sure why I had this wrapping of double quotes then in the first place :/

Sweetness.

C:\Users\Public>java -jar .\deps.clj-0.0.13-standalone.jar
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Dclojure.basis=C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.basis" "-Dclojure.libfile=C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\B97F61A0B6E44EFEFE0E773696CC9312.libs" "-classpath" "src;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\clojure\\1.10.3\\clojure-1.10.3.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\core.specs.alpha\\0.2.56\\core.specs.alpha-0.2.56.jar;C:\\Users\\Peter Str÷mberg\\.m2\\repository\\org\\clojure\\spec.alpha\\0.2.194\\spec.alpha-0.2.194.jar" "clojure.main"]
Clojure 1.10.3
user=>

Much quicker in cmd.exe, I notice. Powershell is a slow thing.

perhaps it's only quicker because the .cpcache was already there

It keeps being quicker even when I try again a few times in PS and cmd.exe.

Anyway. Also works in the project dir. 😃

One last thing I want to try...

in Powershell, can you try:

java -jar ... -Sdeps '{:deps {medley/medley {:mvn/version "1.3.0"}}}' 

(I choose PS here because quoting in PS is easier)

that was an abbreviation for deps.clj-0.0.13-standalone.jar

We're almost there, total Windows corporate world domination

Computer says no:

PS C:\Users\Public> C:\Users\Public>java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps "{:deps {medley/medley {:mvn/version ""1.3.0""}}}"
C:\Users\Public>java : The term 'C:\Users\Public>java' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that 
the path is correct and try again.
At line:1 char:1
+ C:\Users\Public>java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps "{: ...
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Public>java:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

use single quotes, like I told you :P

Sorry I did. Copied the wrong thing. Tried a couple of things.

java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps '{:deps {medley/medley {:mvn/version "1.3.0"}}}'
the path is correct and try again.
At line:1 char:1
+ C:\Users\Public>java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps '{: ...
+ ~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (C:\Users\Public>java:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

sorry, it should be this:

PS C:\Users\borkdude\dev\deps.clj> java -jar .\target\deps.clj-0.0.13-standalone.jar -Sdeps '{:deps {medley/medley {:mvn/version \"1.3.0\"}}}'
Downloading: medley/medley/1.3.0/medley-1.3.0.pom from clojars
Downloading: medley/medley/1.3.0/medley-1.3.0.jar from clojars
Clojure 1.10.3
user=>

Does that work on your machine?

so single quotes + escaped double quote

I'm trying to reproduce the case where passing EDN arguments in a windows process goes wrong

anyway, I'll take it from here. your problem seems to be solved

Now got

PS C:\Users\Public> java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps '{:deps {medley/medley {:mvn/version "1.3.0"}}}'
["C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath\\java.exe" "-Xms256m" "-classpath" "C:\\Users\\Peter Str÷mberg\\.deps.clj\\1.10.3.822\\ClojureTools\\clojure-tools-1.10.3.822.jar" "clojure.main" "-m" "clojure.tools.deps.alpha.script.make-classpath2" "--config-user" "C:\\Users\\Peter Str÷mberg\\.clojure\\deps.edn" "--config-project" "deps.edn" "--basis-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\799735091CA53A349F99BDC4F488693D.basis" "--libs-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\799735091CA53A349F99BDC4F488693D.libs" "--cp-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\799735091CA53A349F99BDC4F488693D.cp" "--jvm-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\799735091CA53A349F99BDC4F488693D.jvm" "--main-file" "C:\\Users\\Peter Str÷mberg\\.clojure\\.cpcache\\799735091CA53A349F99BDC4F488693D.main" "--config-data" "\"{:deps {medley/medley {:mvn/version 1.3.0}}}\""]
Error while parsing option "--config-data {:deps {medley/medley {:mvn/version 1.3.0}}}": java.lang.NumberFormatException: Invalid number: 1.3.0
PS C:\Users\Public> the path is correct and try again.
the : The term 'the' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.    
At line:1 char:1
+ the path is correct and try again.
+ ~~~
    + CategoryInfo          : ObjectNotFound: (the:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException
 
PS C:\Users\Public> At line:1 char:1
The AT command has been deprecated. Please use schtasks.exe instead.

Invalid command.

The AT command schedules commands and programs to run on a computer at
a specified time and date. The Schedule service must be running to use
the AT command.

AT [\\computername] [ [id] [/DELETE] | /DELETE [/YES]]
AT [\\computername] time [/INTERACTIVE]
    [ /EVERY:date[,...] | /NEXT:date[,...]] "command"

\\computername     Specifies a remote computer. Commands are scheduled on the
                   local computer if this parameter is omitted.
id                 Is an identification number assigned to a scheduled
                   command.
/delete            Cancels a scheduled command. If id is omitted, all the
                   scheduled commands on the computer are canceled.
/yes               Used with cancel all jobs command when no further
                   confirmation is desired.
time               Specifies the time when command is to run.
/interactive       Allows the job to interact with the desktop of the user
                   who is logged on at the time the job runs.
/every:date[,...]  Runs the command on each specified day(s) of the week or
                   month. If date is omitted, the current day of the month
                   is assumed.
/next:date[,...]   Runs the specified command on the next occurrence of the
                   day (for example, next Thursday).  If date is omitted, the
                   current day of the month is assumed.
"command"          Is the Windows NT command, or batch program to be run.

PS C:\Users\Public> + C:\Users\Public>java -jar .\deps.clj-0.0.13-standalone.jar -Sdeps '{: ...
>> + ~~~~~~~~~~~~~~~~~~~~
>>     + CategoryInfo          : ObjectNotFound: (C:\Users\Public>java:String) [], CommandNotFoundException
>>     + FullyQualifiedErrorId : CommandNotFoundException
>> 

Need to go cook some food. Family starves. Talk later!

Use escaped double quotes:

'{:deps {medley/medley {:mvn/version \"1.3.0\"}}}'

I copied your thing vebatim, I thought. But now.

S C:\Users\Public> java -jar .\target\deps.clj-0.0.13-standalone.jar -Sdeps '{:deps {medley/medley {:mvn/version \"1.3.0\"}}}'
Error: Unable to access jarfile .\target\deps.clj-0.0.13-standalone.jar

And wife is angry. Talk later for realz. 😃

Same here. hahaha

angry hungry wife

❤️ 1

cmd.exe:

C:\Users\borkdude\dev\deps.clj> java -jar .\target\deps.clj-0.0.13-standalone.jar -Sdeps "{:deps {medley/medley {:mvn/version ""1.3.0""}}}"
Clojure 1.10.3
user=> (require '[medley.core :as medley])
nil
Hmm, all seems to work then

Yes, now when I have eaten and can think better and use the right path things work here with the last command you wanted tested. Both in PS and in cmd.exe.

Cool. Can you also test deps.clj 0.0.14 from Github? You could download the jar from there, or the executable

Getting Started REPL using the shiny new deps.clj:

java -jar ".calva\deps.clj.jar" -Sdeps "{:deps {nrepl/nrepl {:mvn/version,""0.8.3""},cider/cider-nrepl {:mvn/version,""0.25.10""}}}"  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
nREPL server started on port 62529 on host 127.0.0.1 - 

A tad slow testing this. I think I owe my poor Windows machine some little more RAM. 😃

It has certainly deserved it!