Re: Exception while Class.forName("org.postgresql.Driver"); - Mailing list pgsql-jdbc

From Martin Keller
Subject Re: Exception while Class.forName("org.postgresql.Driver");
Date
Msg-id 457E7C35.5030801@unitedplanet.de
Whole thread Raw
In response to Exception while Class.forName("org.postgresql.Driver");  ("Doron Baranes" <doron.baranes@dbnet.co.il>)
List pgsql-jdbc
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
version49.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
>
>


pgsql-jdbc by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Exception while Class.forName("org.postgresql.Driver");
Next
From: Paul Thomas
Date:
Subject: Re: web-app not working after upgrade 7.4 to 8.1