Forum Stats

  • 3,854,990 Users
  • 2,264,447 Discussions


Getting started in Linux

partlycloudy Member Posts: 8,169 Silver Trophy
edited Oct 30, 2018 12:32PM in SQLcl

sqlcl looks very interesting so I went to the download page and unzipped the folder on a Linux server. This server currently has the Oracle 12.1 client installed, tnsnames.ora is used to locate databases, sqlplus works.

But I can't figure out how to get bin/sql to work

Help? Thanks

$echo $0-bash$type javajava is hashed (/app/oracle/client/product/12.2.0/client_1/jdk/bin/java)$java -versionjava version "1.8.0_91"Java(TM) SE Runtime Environment (build 1.8.0_91-b14)Java HotSpot(TM) 64-Bit Server VM (build 25.91-b14, mixed mode)./sql $./sqlException 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: Operation not permitted]        at org.fusesource.hawtjni.runtime.Library.doLoad(        at org.fusesource.hawtjni.runtime.Library.load(        at org.fusesource.jansi.internal.CLibrary.<clinit>(        at org.fusesource.jansi.AnsiConsole.wrapOutputStream(        at org.fusesource.jansi.AnsiConsole.<clinit>(        at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(

Best Answer