Re: forName finds Driver but getConnection doesn't
От | Dennis King |
---|---|
Тема | Re: forName finds Driver but getConnection doesn't |
Дата | |
Msg-id | 20021127235959.58246.qmail@web40411.mail.yahoo.com обсуждение исходный текст |
Ответ на | Re: forName finds Driver but getConnection doesn't (Fernando Nasser <fnasser@redhat.com>) |
Список | pgsql-jdbc |
Thanks Fernando. Please note that I did NOT install GCJ. It was either included with the 8.0 distribution or included with a Jakarta package. --- Fernando Nasser <fnasser@redhat.com> wrote: > Denis, > > Your session is set up with the GNU gcj as the compiler/jvm. > If you try 'which java" you will probably get /usr/bin/java, > which is _not_ the SDK/JRE one. > > You must set your JDBC_HOME env variable, maybe your CLASSPATH if > you do > not copy your driver there, but if you have installed the GNU gcj > program you must also make sure the SKD (or JRE) bin dir is earlier > in > your path so that 'which java" points to the right thing. > > I use RHDB (many versions) and the JDBC driver with all variants of > JREs > every day, in machines with several different versions of the RHL > OS, > without any problems so far. > > Best regards, > Fernando > > Dennis King wrote: > > > java.sql.SQLException.SQLException(java.lang.String, > > java.lang.String, int) (/usr/lib/libgcj.so.3) > > ^^^^^ (GNU gcj being used) > > -- > Fernando Nasser > Red Hat Canada Ltd. E-Mail: fnasser@redhat.com > 2323 Yonge Street, Suite #300 > Toronto, Ontario M4P 2C9 > __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com
В списке pgsql-jdbc по дате отправления: