pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Need help installing/setting up JDBC on Solaris 10
2+ messages / 2 participants
[nested] [flat]

* Need help installing/setting up JDBC on Solaris 10
@ 2009-02-06 04:22  kooifei <kooifeispam@hotmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: kooifei @ 2009-02-06 04:22 UTC (permalink / raw)
  To: pgsql-jdbc


Hi,

This is what I have done:
1) Installed Postgresql-8.3.5 -- this is functional
2) Downloaded and copied postgresql-8.3-604.jdbc3.jar to my /home/sadm
directory
3) Downloaded JDK1.5.0_17 and copied the jdk folder to my /home/sadm
directory
4) Set environment variables
export JAVA_HOME=/home/sadm/jdk1.5.0_17
export CLASSPATH=/home/sadm/postgresql-8.3-604.jdbc3.jar
5) Set configuration:
home/sadm/postgresql-8.3.5$> --with-includes=/opt/sfw/include/
--with-libraries=/opt/sfw/lib/ --with-java
LDFLAGS="-R /opt/sfw/lib"

The configuration ends without error but I get this warning message: 
WARNING: option ignored: --with-java

Why can't postgresql detect my jdbc driver?

Please help! Thanks a lot!

-- 
View this message in context: http://www.nabble.com/Need-help-installing-setting-up-JDBC-on-Solaris-10-tp21866357p21866357.html
Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Need help installing/setting up JDBC on Solaris 10
@ 2009-02-06 22:24  Kris Jurka <books@ejurka.com>
  parent: kooifei <kooifeispam@hotmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2009-02-06 22:24 UTC (permalink / raw)
  To: kooifei <kooifeispam@hotmail.com>; +Cc: pgsql-jdbc



On Thu, 5 Feb 2009, kooifei wrote:

> home/sadm/postgresql-8.3.5$> --with-includes=/opt/sfw/include/
> --with-libraries=/opt/sfw/lib/ --with-java
> LDFLAGS="-R /opt/sfw/lib"
>
> The configuration ends without error but I get this warning message:
> WARNING: option ignored: --with-java
>

--with-java was a configuration option used to indicate that you wanted to 
build the JDBC driver when it used to be bundled with the server source 
code (7.4 and prior).  All recent JDBC releases are independent from the 
server.  You don't need to build the server with any specific JDBC 
support, the JDBC driver is purely a client interface.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-02-06 22:24 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-02-06 04:22 Need help installing/setting up JDBC on Solaris 10 kooifei <kooifeispam@hotmail.com>
2009-02-06 22:24 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox