Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sql.exe always kicks off a "Java Runtime Environment" message, sql script does not...

User9976769-OracleJan 17 2020 — edited Jan 17 2020

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?

Comments
Post Details
Added on Jan 17 2020
1 comment
941 views