- Add
SQLPATH
as a user environment variable, pointing to%USERPROFILE%\Documents\Oracle
- Add
C:\Program Files\SQLcl\bin
to systemPATH
envrionment variable - Rename
C:\Program Files\SQLcl\bin\sql.exe
to_sql.exe
- Copy
sql.cmd
toC:\Program Files\SQLcl\bin
Note: Portions of sql.cmd
are adapted from Oracle's sql.bat
, which was used to start older versions of SQLcl on Windows, and from Glen Conway's excellent hints in this thread in the Oracle SQLcl Community.
The link Oracle broke should now point to
https://community.oracle.com/tech/developers/discussion/4139916/unable-to-launch-sqlcl-18-1