dfgrumpy
12/22/2022, 6:32 PMbdw429s
12/22/2022, 6:33 PMserver.json
and then in your local .env
file ONLY put
box_server_jvm_javaHome=/path/to/it
bdw429s
12/22/2022, 6:33 PMserver.json
in higher environments without itbdw429s
12/22/2022, 6:34 PMserver.json
to be overridden by convention with env vars
https://commandbox.ortusbooks.com/embedded-server/configuring-your-server/env-var-overridesbdw429s
12/22/2022, 6:37 PMI can't set it to blankbut I'm not sure what you mean as overriding that setting to be blank should actually cause it to not be used. So even though I still recommend what I mentioned above, it would also be possible for you to ⢠hard-code a
jvm.javaHome
path in your server.json
⢠Override it by setting box_server_jvm_javaHome
to an empty string everywhere elsebdw429s
12/22/2022, 6:38 PM"javaHome" : "${MY_JAVA_HOME_PATH}"
in the server.json
and then having
MY_JAVA_HOME_PATH=/path/to/it=/path/to/it
defined only in your local .env
file and on all other environments where it was undefined, it would just resolve to an empty string and be ignoredbdw429s
12/22/2022, 6:38 PMdfgrumpy
12/22/2022, 6:45 PM