I can successfully connect to the DB using SQLPLUS and VSCode via extension defined connections.
Unable to connect using SQLcl.
SQLcl: Release 25.1 Production on Sat May 03 08:29:46 2025
Copyright (c) 1982, 2025, Oracle. All rights reserved.
SQL> CONNECT sys/password@localhost:1521/FREE AS SYSDBA
Connection failed
USER = sys
URL = jdbc:oracle:oci8:@localhost:1521/FREE
Error Message = Incompatible version of libocijdbc[Jdbc:23702501, Jdbc-OCI:23602410
App versions
Oracle Database 23ai Free v23.0.0.0
VSCode 1.99.3
Oracle SQLDeveloper extension 25.1.1
Environment variable:
ORACLE_HOME=c:\app\UserName\product\23ai\dbhomeFree
SQL*Plus: Release 23.0.0.0.0 - Production on Sat May 3 09:00:26 2025
Version 23.6.0.24.10
Copyright (c) 1982, 2024, Oracle. All rights reserved.
Enter user-name: sys/password@localhost:1521/FREE AS SYSDBA
Connected to:
Oracle Database 23ai Free Release 23.0.0.0.0 - Develop, Learn, and Run for Free
Version 23.6.0.24.10