My Oracle Support Banner

SQLcl Fails With Exception in thread main java.lang.UnsatisfiedLinkError Could not load library (Doc ID 2778399.1)

Last updated on NOVEMBER 17, 2023

Applies to:

Oracle SQLcl - Version 19.1 to 21.4 [Release 19 to 21]
Information in this document applies to any platform.


This is new Install of database on a new Linux Box. While starting sql ( SQLcl), it fails.
Same behavior with standalone SQLcl

Error as seen is

 > sql /nolog
Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, /tmp/ /tmp/ failed to map segment from shared object]
  at org.fusesource.hawtjni.runtime.Library.doLoad(
  at org.fusesource.hawtjni.runtime.Library.load(
  at org.fusesource.jansi.internal.CLibrary.(
  at org.fusesource.jansi.AnsiConsole.wrapOutputStream(
  at org.fusesource.jansi.AnsiConsole.(
  at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.