Take up computer programming as fun and you will just enjoy it. Always keep in mind that in some way your program is going to make human life easier.
Originally posted by Michael Hildner:
I think this is your PATH, not CLASSPATH. Make sure your PATH contains the path to ocijdbc8.dll. In my installation, it is located in c:\Oracle\Ora81\bin
Take up computer programming as fun and you will just enjoy it. Always keep in mind that in some way your program is going to make human life easier.
Originally posted by javahelp:
I have compiled program which is using Oracel drive to connect to oarcle database sitting on solaris. When i try to run the program i am getting following error.
Can some one hwlp me.
Thanks
C:\javawork>java Employee
Exception in thread "main" java.lang.UnsatisfiedLinkError: no ocijdbc8 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1290)
at java.lang.Runtime.loadLibrary0(Runtime.java:473)
at java.lang.System.loadLibrary(System.java:777)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:228)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java, Compiled Code)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:260)
at java.sql.DriverManager.getConnection(DriverManager.java:457)
at java.sql.DriverManager.getConnection(DriverManager.java:137)
at Employee.main(Employee.java, Compiled Code)
C:\javawork>
Originally posted by Frank Wu:
set the LD_LIBRARY_PATH to include the $oracle_home\lib will do
Consider Paul's rocket mass heater. |