-
Notifications
You must be signed in to change notification settings - Fork 1k
[1.x] .jvmopts parse error on Windows Git Bash #8767
Copy link
Copy link
Closed
Labels
Description
steps
sbt 1.12.3
.jvmopts
-Xmx2G
-Xss1M
problem
Run sbt -v -Dfile.encoding=UTF-8 -Dsbt.supershell=never "Test/compile" "crossTestBridges" "zincRoot/test" "scripted"
[sbt_options] declare -a sbt_options=()
[process_args] java_version = '17'
Invalid maximum heap size: -Xmx2G
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[copyRt] java9_rt = '/rt.jar'
mkdir: cannot create directory '': No such file or directory
Invalid maximum heap size: -Xmx2G
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
# Executing command line:
java
-Dfile.encoding=UTF-8
-Xmx2G
-Xss1M
-Dfile.encoding=UTF-8
-Dsbt.supershell=never
-Dsbt.script=/c/hostedtoolcache/windows/sbt/1.12.3/sbt/bin/sbt
-Dscala.ext.dirs=
-Djline.terminal=jline.UnixTerminal
-Dsbt.cygwin=true
-jar
C:\hostedtoolcache\windows\sbt\1.12.3\sbt\bin\sbt-launch.jar
Test/compile
crossTestBridges
zincRoot/test
scripted
Invalid maximum heap size: -Xmx2G
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Error: Process completed with exit code 1.
expectation
notes
Reactions are currently unavailable