Skip to Main Content

Getting started in Linux

partlycloudyOct 29 2018 — edited Oct 30 2018

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


$type java

java is hashed (/app/oracle/client/product/12.2.0/client_1/jdk/bin/java)

$java -version

java 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)



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: 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(

Post Details
Added on Oct 29 2018