sbt-multi-jvm
sbt-multi-jvm copied to clipboard
"java: command not found" in mutliNodeTestOnly
When I try to run multi-nodes test I get this error:
> multiNodeTest [info] Compiling 1 Scala source to /.../target/scala-2.11/classes... ... [info] Done packaging. [info] * main.multinode.C1 [JVM-2] bash: java: command not found [JVM-1] bash: java: command not found [error] Failed: main.multinode.C1MultiJvmNode1 [error] Failed: main.multinode.C1MultiJvmNode2 [info] main.multinode.C1 [info] No tests to run for MultiNode [error] (service/multi-jvm:multiNodeTestOnly) sbt.TestsFailedException: Tests unsuccessful [error] Total time: 7 s, completed Jun 17, 2018 3:14:37 PM
but I have Java in my PATH; the $JAVA_HOME is set! I tried to change it by setting 'multiJvmJavaCommand' but it was not affected!
SBT 0.13.16 & Plugin: 0.4.0