problem in installation of postgresql-jdbc

Lists: pgsql-generalpgsql-hackerspgsql-novice
From: Vivek Singh Raghuwanshi <vivekraghuwanshi(at)gmail(dot)com>
To: pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: problem in installation of postgresql-jdbc
Date: 2013-09-11 08:03:20
Message-ID: CAP68xYkDJFe9-=crk-MFSC7ivh3aRpqwS_=MWeZwavaymnzewA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers pgsql-novice

Hi All,

I am trying to install postgresql-jdbc but facing java error. sun java is
already installed but postgresql-jdbc installing openjdj. please let me
know how to resolve this and if you require any other details.

[root(at)172-24-1-54 ~]# java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03, mixed mode)
[root(at)172-24-1-54 ~]# yum install postgresql-jdbc.noarch
Dependencies Resolved

=======================================================================================================================================
Package Arch
Version Repository Size
=======================================================================================================================================
Installing:
postgresql-jdbc noarch
8.4.701-8.el6 redhat63 402 k
Installing for dependencies:
flac x86_64
1.2.1-6.1.el6 redhat63 243 k
giflib x86_64
4.1.6-3.1.el6 redhat63 37 k
java-1.6.0-openjdk x86_64
1:1.6.0.0-1.45.1.11.1.el6 redhat63 25 M
jline noarch
0.9.94-0.8.el6 redhat63 86 k
jpackage-utils noarch
1.7.5-3.12.el6 redhat63 59 k
libasyncns x86_64
0.8-1.1.el6 redhat63 24 k
libsndfile x86_64
1.0.20-5.el6 redhat63 233 k
pulseaudio-libs x86_64
0.9.21-13.el6 redhat63 462 k
rhino noarch
1.7-0.7.r2.2.el6 redhat63 778 k
tzdata-java noarch
2012c-1.el6 redhat63 154 k

Transaction Summary
=======================================================================================================================================
Install 11 Package(s)

--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi


From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "Vivek Singh Raghuwanshi *EXTERN*" <vivekraghuwanshi(at)gmail(dot)com>, "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: problem in installation of postgresql-jdbc
Date: 2013-09-11 08:23:59
Message-ID: A737B7A37273E048B164557ADEF4A58B17C1C9DE@ntex2010a.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers pgsql-novice

Vivek Singh Raghuwanshi wrote:
> I am trying to install postgresql-jdbc but facing java error.

It would be helpful to know which error you are facing.

Yours,
Laurenz Albe


From: Vivek Singh Raghuwanshi <vivekraghuwanshi(at)gmail(dot)com>
To: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] problem in installation of postgresql-jdbc
Date: 2013-09-11 08:47:09
Message-ID: CAP68xYnRyKxfrE0nF8YYEv4KWcaLLht5Ydbj-=qCNbDK3UJLOQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers pgsql-novice

java version "1.6.0_33" is already installed but after firing yum install
postgresql-jdbc
java-1.6.0-openjdk is also going to installed as dependencies.

On Wed, Sep 11, 2013 at 1:53 PM, Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>wrote:

> Vivek Singh Raghuwanshi wrote:
> > I am trying to install postgresql-jdbc but facing java error.
>
> It would be helpful to know which error you are facing.
>
> Yours,
> Laurenz Albe
>

--
ViVek Raghuwanshi
Mobile -+91-09595950504
Skype - vivek_raghuwanshi
IRC vivekraghuwanshi
http://vivekraghuwanshi.wordpress.com/
http://in.linkedin.com/in/vivekraghuwanshi


From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: problem in installation of postgresql-jdbc
Date: 2013-09-11 09:37:38
Message-ID: 523039E2.2030909@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-general pgsql-hackers pgsql-novice

On 9/11/2013 1:47 AM, Vivek Singh Raghuwanshi wrote:
> java version "1.6.0_33" is already installed but after firing yum
> install postgresql-jdbc
> java-1.6.0-openjdk is also going to installed as dependencies.

We never install the RPM of the jdbc driver as its just a single .jar
file... we just bundle the proper .jar file with our applications.

--
john r pierce 37N 122W
somewhere on the middle of the left coast