problem in installation of postgresql-jdbc

Started by Vivek Singh Raghuwanshiover 12 years ago4 messages
#1Vivek Singh Raghuwanshi
vivekraghuwanshi@gmail.com

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@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@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

#2Albe Laurenz
laurenz.albe@wien.gv.at
In reply to: Vivek Singh Raghuwanshi (#1)
Re: problem in installation of postgresql-jdbc

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

#3Vivek Singh Raghuwanshi
vivekraghuwanshi@gmail.com
In reply to: Albe Laurenz (#2)
Re: [GENERAL] problem in installation of postgresql-jdbc

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.albe@wien.gv.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

#4John R Pierce
pierce@hogranch.com
In reply to: Vivek Singh Raghuwanshi (#3)
Re: problem in installation of postgresql-jdbc

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

--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general