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!

Running sql.exe doesn't start when java is not exactly 1.8.0_50

Zohar ElkayamJul 31 2016 — edited Sep 1 2016

I'm trying to deploy sqlcl on a new Windows machine with Java JRE "1.8.0_101":

c:\oracle\sqlcl-4.2.0.16.175.1027-no-jre\sqlcl\bin>java -version

java version "1.8.0_101"

Java(TM) SE Runtime Environment (build 1.8.0_101-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)

When trying to start the EXE version, it returns with an error message:

c:\oracle\sqlcl-4.2.0.16.175.1027-no-jre\sqlcl\bin>sql

This application requires a Java Runtime Environment 1.8.0_50

Running the sqlcl from the sql.bat works:

c:\oracle\sqlcl-4.2.0.16.175.1027-no-jre\sqlcl\bin>sql.bat

SQLcl: Release 4.2.0.16.175.1027 RC on Sun Jul 31 11:12:51 2016

Copyright (c) 1982, 2016, Oracle.  All rights reserved.

Ideas?

Comments
Post Details
Added on Jul 31 2016
8 comments
3,032 views