Search code examples
javaeclipsetomcatoracle-call-interfaceoracleclient

no ocijdbc10 found in java.library.path


I've got error-"no ocijdbc10 found in java.library.path" while starting tomcat server. But i have ocijdbc11 in my oracle11 installation. I've tried setting path variables for ojdbc14.jar and ojdbc6.jar.I've added even ocijdbc11 in my variable path.Please anyone tell a solution.Thanks in advance.


Solution

  • Please add ojdbc14.jar and ojdbc6.jar from oracle folder to your $TOMCAT_HOME/lib and restart it. You can also add these jars to your webapps/project-directory/WEB-INF/lib folder. By the way Mr. Nadeem only ojdbc6.jar is enough to work