Cannot pass jvm parameters to dotr
See original GitHub issueWhen calling dotr
(without launching the repl) we cannot pass JVM arguments such as -Xmx512
. We should probably support the -JXmx512
notation the dotc
supports. All flags starting with -J
should be passed to the JVM without the J
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:8 (8 by maintainers)
Top Results From Across the Web
Specifying JVM arguments when calling a jar file?
I want to specify some JVM arguments when calling ...
Read more >How to pass JVM options to Ranger services
How to pass JVM options to Ranger services · In Cloudera Manager Home, select Ranger, then choose Configuration. · On Configuration, in Search,...
Read more >How to pass JVM arguments in Java web start? — oracle-tech
The reason your jvm argument was not passed through is that JWS only accepts a limited selection of parameters in the 'java-vm-args' property....
Read more >Setting JVM options | Elasticsearch Guide [8.5] | Elastic
Elasticsearch security principles · Start the Elastic Stack with security enabled automatically · Manually configure security · Set up minimal security · Updating ......
Read more >The Definitive Guide to Clojure on the JVM - Eric Normand
Boot and depenencies; Running Java with options; The Java object model ... We will go through the different parts—the JVM, the JDK, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@jiminhsieh if you are still interested, now you can have a stab at it.
Run the REPL if
-repl
is set or if-run
is not set and[<Main> <main-args>*]
not is present. Run the app if-run
is set or[<Main> <main-args>*]
is present.Running should call
java <jvmopt-transformed>* <Main> <main-args>*
wherejvmopt-transformed
removes theJ
from-J<jvm-option>
and merges the classpaths toghether.-classpath
and the dotty library classpath (currently in the script) in that order.If several
-classpath
are found in<jvmopt>*
then keep the last one. Maybe emit a warning.For the REPL keep
-classpath
as is.@allanrenucci WDYT?