I am running Windows 10. I currently have Java 1.8.0_231 (64 bit) installed. JAVA_HOME points to the JRE directory, and the JRE\bin is in my path. Whenever I just run sql.exe at a command prompt, it displays This application requires a Java Runtime Environment 1.8.0_150 and kicks off a browser pointing to a Java download. However, if I use Cygwin Bash to run the sql script it runs and I can run the sql script in the Ubuntu WSL without problem as well. Any ideas on what I need to do to run sql.exe in Windows?