Open jsuereth opened 9 years ago
Might be of related interest: https://github.com/paulp/sbt-extras/pull/95
@dwijnand Ironically, that's not the issue here, that won't even solve this problem :) The JDK is chosen before we even load .sbt configuration or are able to use the set
command.... Still glad to see you fixing issues like that.
Setting javaHome
is a lesser part of that fix, the more important part was prepending JAVA_HOME/bin
/ JDK_HOME/bin
to PATH
.
Setting javaHome
actually broke sbt.ScriptMain
too :(
some users do not want to use the
PATH
version of java to run sbt-server. We should allow specifying a JAVA_HOME so the forking which is done is done via some JAVA_HOME parameter.