I have a large host of errors with this sample class that Oracle
provided. It tests that the JDBC has been set up correctly. It hasn't
as it failed.
I have added the
D:\Oracle\Ora817\jdbc\lib\
path to the enviroment variable
CLASSPATH.
I'm using Oracle 817 client on Windows2K
Can you guys help. Here are the error messages.
Thanks
D
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Projects\Zips\Java\testjdbc>java JdbcCheckup
Please enter information to test connection to the database
user: tokyo
password: tokyo
database(a TNSNAME entry): imsuni
Connecting to the database...Connecting...
Exception in thread "main" java.lang.UnsatisfiedLinkError: do_open
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:354)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:249)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.ja
va, 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 JdbcCheckup.main(JdbcCheckup.java, Compiled Code)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Also, there is alternative way to use THIN
driver. otn.oracle.com has a lot of samples.
AlexV.
"Dave" <dfbr...@yahoo.com.au> wrote in message
news:31893d47.02100...@posting.google.com...