Welcome! Please see the About page for a little more info on how this works.

+7 votes
in tools.deps by

Currently jvm-opts can be supplied either with -J at the command line or via :jvm-opts in an activated alias. It would also be useful to specify jvm opts that are applied by default when launching a program.

Currently JVM opts are combined (first all aliases, in order, then any -J options specified at the command-line). We would need to decide how to treat default jvm opts in combination with these other sources. Probably they should be combined as the first set of jvm opts before alias opts or command line -J opts.

I think this could also affect caching with respect to the cached .jvm file. Or maybe it could just be added into the command line when found, as we do now with -J opts, in which case it has no effect on caching.

1 Answer

0 votes
by
Reference: https://clojure.atlassian.net/browse/TDEPS-63 (reported by lobstu)
...