Skip to Main Content

SQLcl.exe giving Java error Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not loa

1002330Jan 30 2018 — edited Aug 17 2018

Hello Folks,

I am trying to connect sqlcl to our database but its giving me the error below -

Exception in thread "main" java.lang.UnsatisfiedLinkError: Could not load library. Reasons: [no jansi in java.library.path, Access is denied]

        at org.fusesource.hawtjni.runtime.Library.doLoad(

        at org.fusesource.hawtjni.runtime.Library.load(

        at org.fusesource.jansi.internal.CLibrary.<clinit>(

        at oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.<init>(

        at oracle.dbtools.raptor.console.clone.DbtoolsConsoleReader.<init>(

        at oracle.dbtools.raptor.console.SQLPlusConsoleReader.<init>(

        at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.startConsole(

        at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.<init>(

        at oracle.dbtools.raptor.scriptrunner.cmdline.SqlCli.main(

I have jre1.8.0_161 folder in the sqlcl folder. I have got the Java_Home link to sqlcl/jre1.8.0_161 and I in my path variable i have added %JAVA_HOME%\bin. I am lost at why its giving me this error. Any help is appreciated. Thank you!

Post Details
Added on Jan 30 2018