mirror of https://github.com/sbt/sbt.git
There are a number of scenarios, including long classpaths, that can cause linux and other systems to fail to fork a jvm. We can work around this on JDK9 and above by using an "arguments file" [1]. This patch adds an "sbt.argsfile" property and SBT_ARGSFILE environment variable. This option defaults to true. When active on Java 9+, long command lines are translated to an arguments file by adding all command line arguments to the arguments file format at [1] and java is invoked using the arguments file instead of passing the arguments on the command line. 1. https://docs.oracle.com/javase/9/tools/java.htm# Fixes: #2974 |
||
|---|---|---|
| .. | ||
| src | ||
| NOTICE | ||