It's here.
(defn jvm-cmd [cmd]
(let [java-home (.get (System/getenv) "JAVA_HOME")]
(if (nil? java-home)
cmd
(str java-home file-path-separator "bin" file-path-separator cmd))))
If JAVA_HOME isn't set to system environment, it may works as what we want.
But if it's set to empty string, "/bin/java" will be called.
2016년 4월 28일 (목) 오후 10:01, P. Taylor Goetz <[email protected]>님이 작성:
>
>
> > On Apr 28, 2016, at 2:30 AM, Jungtaek Lim <[email protected]> wrote:
> >
> > - if we don't set JAVA_HOME, supervisor runs "/bin/java" instead of
> "java"
> > when it launches worker with non-secure mode.
>
> That seems like a regression we don't want. I'll look into where that came
> from
>
> -Taylor