Hmmm, don't know. Thats what I had to do on my linux box, something about the way
jdk1.2 looks for
native libraries now, and aside from not being able to compile anything using the
oracle jdbc
libraries with jdk1.2 it works fine. (Been compiling on a windows machine and running
it on the
linux box.)
-stephan
Martin Kuzela wrote:
> stephan nagy wrote:
>
> > > > BTW, does anyone solved Oracle JDBC drivers bug ?
> > > > ( they don't work with JDK 1.2 - no oci804jdbc in java.library.path)
> >
> > copy $ORACLE_HOME/liboci805jdbc.so to $JAVA_HOME/jre/lib/i386/liboci805jdbc.so
> >
>
> I did
> cp $ORACLE_HOME/lib/liboci804jdbc.so $JAVA_HOME/jre/lib/sparc/
>
> but nothing changed and my progs are still throwing the same exception.
>
> >
> > and the oracle jdbc drivers will work. (Well sort of, you can use them with
>existing .class
> > files, you just can't build anything new with them, because they don't meet all of
>the new jdbc
> > specifications)
> >
>
> strange is that
> Class.forName ("oracle.jdbc.driver.OracleDriver");
> is OK and
> DriverManager.getConnection ("jdbc:oracle:oci8:@" + database, user, password);
> is line that throws exception.
>
> >
> > hope this helps,
> > -stephan
>
> Martin Kuzela
>
> ----------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> Archives and Other: <http://java.apache.org/main/mail.html/>
> Problems?: [EMAIL PROTECTED]
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]