Fork me on GitHub

I get Improperly specified VM option 'TieredStopAtLevel=1 -J-XX:SharedArchiveFile=clojure.jsa' when I call clojure like this: clojure -J-XX:TieredStopAtLevel=1 -J-XX:SharedArchiveFile=clojure.jsa -A:repl it seems maybe I don't understand how to pass more than one JVM option?

Alex Miller (Clojure team)05:07:13

that's how I would expect it to work

Alex Miller (Clojure team)05:07:00

if you throw bash -x at the beginning of that, you'll see the actual command being run

Alex Miller (Clojure team)05:07:25

I can't repro what you're reporting


Oh, ok it might have something to do with that I'm calling it inside a bash script with command, if I just type it at the terminal it works, so probably on my end

Alex Miller (Clojure team)14:07:43

New prerelease of Clojure CLI with some bug fixes: • TDEPS-187 - fix #2 for using help/doc and help/dir with tools (but also a lot of internal cleanup) • Fix regression with using local jar deps • Make slurp-deps more tolerant of missing deps files


I'll get that installed as soon as I've had my coffee and let you know how it goes. Thank you!


(and I'll update clj-new to use the newer t.d.a and verify that I can remove the workaround I added)

Alex Miller (Clojure team)15:07:38

actually, it's buggy, new version coming :)


(verified that with t.d.a 0.12.1003, I can remove the workaround from clj-new -- thank you!)


I ran into this error on one of our old servers (which we'll be replacing soon):

Checking out:  at 688245ea6cc8b3b173b79b861938444fcd9e3e1e
Error building classpath. Unable to checkout 688245ea6cc8b3b173b79b861938444fcd9e3e1e
git: 'worktree' is not a git command. See 'git --help'.
It has git 1.7.1 -- I gather that's not a supported version of git at this point?


oh the humanity security


We haven't used git on that server for a long time -- I'd forgotten it was actually installed (since git is not installed on any of our production servers) -- but I accidentally introduced a git dep into something our deployment script was doing (now removed).


So I guess, in a way, this was a good error to trip over so that I didn't accidentally put something on production that still relied on a git dep...

Alex Miller (Clojure team)19:07:51

this is mentioned in the deps reference - we expect Git ≥ 2.5

Alex Miller (Clojure team)19:07:31

(that came out about 5+ years ago)


I'll be glad when our migration to new servers is completed at work 🙂