From: Martin Keller <martin.keller@unitedplanet.de>
To: pgsql-jdbc@postgresql.org
Subject: Re: Exception while Class.forName("org.postgresql.Driver");
Date: Tue, 12 Dec 2006 10:53:57 +0100
Message-ID: <457E7C35.5030801@unitedplanet.de> (raw)
In-Reply-To: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il>
References: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il>
Hi Doron,
you need the PostgreSQL driver version suitable for your JRE.
At http://jdbc.postgresql.org/download.html you can determine which
driver-jar you should select.
Regards,
Martin
Doron Baranes wrote:
> Hi,
>
> I am using postgres 8.1.4 on solaris 10 sparc and i am trying to use jdbc driver.
> when i use this command Class.forName("org.postgresql.Driver") to load the driver i get:
> Exception in thread "main" java.lang.UnsupportedClassVersionError: org/postgresql/Driver (Unsupported major.minor version 49.0)
>
> can anyone help?
>
> 10x,
> Doron
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: martin.keller@unitedplanet.de
Subject: Re: Exception while Class.forName("org.postgresql.Driver");
In-Reply-To: <457E7C35.5030801@unitedplanet.de>
References: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il> <457E7C35.5030801@unitedplanet.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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