solved: Re: cannot install JDBC with ORACLE jdk1.8.0

From: "Gamel Anton J(dot)" <anton(dot)gamel(at)physik(dot)uni-freiburg(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: solved: Re: cannot install JDBC with ORACLE jdk1.8.0
Date: 2017-04-04 13:12:02
Message-ID: 6cf568f3-2612-11ed-e3fa-61757c2acdbe@physik.uni-freiburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Re Daniel,

thanks for your hint. In principle this was the solution, but the other way round:
The provider of our software included a suitable pgjdbc version in their package
so there is no need any more to install/update pgjdbc in advance.

@Jeremy
Running 60 storage servers here with OracleJDK installed. Not recommended to
quickly switch to different software/setup if running well. ;-)

Cheers

Anton

Am 27.03.2017 um 20:09 schrieb Daniel Migowski:
> Hello,
>
> Sorry to say that but the PostgreSQL JDBC Mailing list is not the right place to ask for this.
>
> It is a packaging problem and you should contact either the maintainer of the package or ask this on a Red Hat mailing list. My assumption however is (as you already stated) that you will have to use the package manager that comes with your distribution and install the driver that comes with it.
>
> Or you just skip using the package and download the jar file manually, like you likely do with the other jar files of your application.
>
> Regards,
> Daniel Migowski
>
>
>
> -----Ursprüngliche Nachricht-----
> Von: pgsql-jdbc-owner(at)postgresql(dot)org [mailto:pgsql-jdbc-owner(at)postgresql(dot)org] Im Auftrag von Gamel Anton J.
> Gesendet: Montag, 27. März 2017 20:03
> An: pgsql-jdbc(at)postgresql(dot)org
> Betreff: [JDBC] cannot install JDBC with ORACLE jdk1.8.0
>
> Hi all,
>
> 'Just joined the mailinglist because I ran into
> this problem and could not get info elsewhere:
>
> JDBC requires: java-headless >= 1:1.8
> My ORACLE java version "1.8.0_121"
> Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
> .../libawt_headless.so cannot satisfy the dependency to install
> postgresql-jdbc-42.0.0-1.rhel6.noarch.rpm
>
> I guess that java-headless is required as well
> when the JDBC jar is installed manually.
>
> Now it looks like JDBC can only be used with openjdk-headless?
>
> Any trick | hint?
>
> Cheers and thanks in advance
>

--
Beste Gruesse

Anton J. Gamel

HPC und GRID-Computing
Physikalisches Institut
Abteilung Professor Schumacher

c/o Rechenzentrum der Universität Freiburg
Betreuung Tier2 / Tier3
Hermann-Herder-Straße 10
79104 Freiburg

Tel.: ++49 (0)761 203 -4670

--
Es bleibt immer ein Rest - und ein Rest vom Rest.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Álvaro Hernández Tortosa 2017-04-04 15:07:12 Re: RFC: Make new versions of pgjdbc Java8+
Previous Message Dave Cramer 2017-04-04 12:34:55 Re: Logical Replication: adjacent COMMIT messages with the wrong StartLSN