Rodney
08/22/2022, 3:25 PMRodney
08/22/2022, 3:26 PMcfvonner
08/22/2022, 3:26 PMcommandbox-dotenv module installed.bdw429s
08/22/2022, 7:09 PM.env file is NOT core to CommandBox.  Only installing that module provides that behavior.bdw429s
08/22/2022, 7:12 PMAlso Java SDK is in the path:This doesn't mean much. Just because a car is in my drive way, doesn't mean it's the one I'll be driving today. On Windows there is a look up order like • check for
jre folder in same directory as box.exe
• Check Windows registry to see what default java version is installed
• Start digging through JAVA_HOME, JAVA_JRE, PATH, etc env vars
When you just run
java -version
 from the command line, all that's proving is that your PATH env var lists that jdk bin folder first, which is not necessarily the same as what CommandBox uses to find Java.