clj-on-windows 2020-02-13

@andreas.scheinert has joined the channel

help! I'm on windows and clj/clojure command doesn't seem to work

@andreas.scheinert Are you in cmd.exe or powershell?

not sure about that one. deps.exe from the clojure-scoop may work there if the official doesn't

the official is known to work in powershell only I think

I ran the install script for linux here: https://clojure.org/guides/getting_started

lein works without problems in cygwin

when I type: I get$ clj Please install rlwrap for command editing or use "clojure" instead.

when i type "clojure"

$ clojure Error: Could not find or load main class clojure.main Caused by: java.lang.ClassNotFoundException: clojure.main

maybe post an issue on ask.clojure if no-one else responds here

or try in #tools-deps

thank you borkdude I will try that

Alex Miller (Clojure team) 2020-02-13T13:50:13.039300Z

I don't think any of the windows install methods work on cygwin

Alex Miller (Clojure team) 2020-02-13T13:50:47.039800Z

either WSL + linux stuff or Windows + powershell or scoop

Alex Miller (Clojure team) 2020-02-13T13:51:12.040400Z

the path stuff is too wonky on cygwin I think

but ultimately I wanted to try gigasquids clj-python brdige and and in cygwin I already have it...

the good news is your powershell installer works

I have installed it

Alex Miller (Clojure team) 2020-02-13T13:52:44.042400Z

btw, the clj-python folks hang out in a zulip room and usually someone is available there for questions about it

but now when I want to use this deps comand I get an error: https://github.com/clj-python/clj-template

clj -Sdeps '{:deps {seancorfield/clj-new {:mvn/version "0.8.6"}}}' \
  -m clj-new.create \
   \
  appcompany.funapp
[2:42 PM] I figured I remove all the \ and create a long single line of command, but then that still gives me: [2:42 PM] Error while parsing option "--config-data {:deps {seancorfield/clj-new {:mvn/version 0.8.6}}}": java.lang.NumberFormatException: Invalid number: 0.8.6

Alex Miller (Clojure team) 2020-02-13T13:53:44.043500Z

the quoting stuff in windows is different

ah I have to add \"0.8.6\"

you are using double quotes, I will try that , thank you

Thanks a lot @alexmiller in the end I got it to work!

Alex Miller (Clojure team) 2020-02-13T14:23:47.045600Z

great!

@just.sultanov has left the channel