This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-19
Channels
- # announcements (1)
- # asami (75)
- # beginners (16)
- # calva (14)
- # cider (4)
- # clj-kondo (11)
- # cljs-dev (3)
- # clojure (110)
- # clojure-australia (1)
- # clojure-china (1)
- # clojure-europe (38)
- # clojure-hk (1)
- # clojure-indonesia (1)
- # clojure-japan (1)
- # clojure-korea (1)
- # clojure-my (1)
- # clojure-nl (1)
- # clojure-sg (1)
- # clojure-spec (1)
- # clojure-taiwan (1)
- # clojure-uk (2)
- # clojurescript (34)
- # conjure (1)
- # data-science (9)
- # datahike (7)
- # datalevin (1)
- # datascript (1)
- # datomic (5)
- # etaoin (1)
- # fulcro (23)
- # graalvm (50)
- # helix (4)
- # hyperfiddle (8)
- # introduce-yourself (1)
- # jobs (3)
- # kaocha (10)
- # malli (8)
- # mid-cities-meetup (1)
- # minecraft (1)
- # off-topic (13)
- # pathom (14)
- # polylith (38)
- # reitit (1)
- # releases (1)
- # sci (65)
- # shadow-cljs (28)
- # specter (12)
- # tools-deps (8)
- # vim (1)
- # vscode (11)
- # xtdb (31)
is -Jopt
a valid clj-opt
argument?
When you read the list it seems like should be, but i get the impression it's just a parameter name. Would this be more accurate if slightly more cumbersome?
Start a REPL clj [clj-opt|Jopt] [-Aaliases] [init-opt*]
This isn't something i'm really suffering over, i'm just trying to solidify my understanding.
yes, it's a valid clj-opt, not sure I understand the question
I just mean that this fails
$ clj -Jopt
Error: Could not find or load main class opt
Caused by: java.lang.ClassNotFoundException: opt
As where this does not:
$ clj -Spath
src:/home/drewverlee/.m2/repository/clojure/java-time/clojure.java-time/0.3.2/clojure.java-
"opt" is something you have to provide that gets passed through to the jvm
so clj -J-Xmx256m
for example
yes, that makes sense. That's what i'm learning, and in my mind i'm going to think of it as
-J<opt> Pass <opt> through e.g -Xmx512m
As where the "path" in Spath isn't a parameter itself.
well, I understand the confusion and think about a way to make that clearer