T
tewall
I'm trying to do an ant build in Eclipse. The build works find outside
of Eclipse, but within Eclipse I get the following error:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path.
ocijdbc8 lives in C:\oracle\ora81\bin. When I run the build outside of
Eclipse, I set the path to include the home for Ant, for Java, and for
Oracle.
Within Eclipse, I don't see how the path is determined. I can't find
what Eclipse thinks the path is, or how to tell it what should be
included in it. I don't know how to get it to recognize the ocijdbc8
dll.
I guess I should mention that the ant build is doing JUnit tests, and
this is what is failing. I can run the JUnit tests find with Eclipse
(not doing the ant build, but just running them as JUnit tests), and
can run them fine outside of Eclipse doing the Ant build, but cannot
run them inside of Eclipse doing an Ant build. So somehow Eclipse is
using the correct path when doing the JUnit tests, but a different, and
incorrect, path when doing the Ant build.
Finally I should mention that the first item in the system path is
C:\oracle\ora81\bin.
of Eclipse, but within Eclipse I get the following error:
java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path.
ocijdbc8 lives in C:\oracle\ora81\bin. When I run the build outside of
Eclipse, I set the path to include the home for Ant, for Java, and for
Oracle.
Within Eclipse, I don't see how the path is determined. I can't find
what Eclipse thinks the path is, or how to tell it what should be
included in it. I don't know how to get it to recognize the ocijdbc8
dll.
I guess I should mention that the ant build is doing JUnit tests, and
this is what is failing. I can run the JUnit tests find with Eclipse
(not doing the ant build, but just running them as JUnit tests), and
can run them fine outside of Eclipse doing the Ant build, but cannot
run them inside of Eclipse doing an Ant build. So somehow Eclipse is
using the correct path when doing the JUnit tests, but a different, and
incorrect, path when doing the Ant build.
Finally I should mention that the first item in the system path is
C:\oracle\ora81\bin.