Hi Guys,
I recently upgraded from Oracle 11g to Oracle 12c and the shell script that I have executed no longer works. It is now throwing this error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc11 in java.library.path
This is the shell script:
#!/bin/bash
export JAVA_HOME=/opt/jdk
export PATH=$JAVA_HOME/bin:$PATH:.
ORACLE_HOME=/u01/app/oracle/product/12.1.0/db_home1
TIMES_TEN=/opt/TimesTen/Install/lib
LD_LIBRARY_PATH=$ORACLE_HOME:$ORACLE_HOME/lib:$TIMES_TEN
export LD_LIBRARY_PATH
export ORACLE_HOME
export TIMES_TEN
java -cp lib/housing.jar:lib/log4j.jar:conf:lib/sqljdbc4.jar:lib/ttjdbc6.jar:lib/ojdbc6.jar com.hp.spcmc.housing.Query
Any idea what could be causing this issue?