Re: Exception while Class.forName("org.postgresql.Driver");

From: Martin Keller <martin(dot)keller(at)unitedplanet(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Exception while Class.forName("org.postgresql.Driver");
Date: 2006-12-12 09:53:57
Message-ID: 457E7C35.5030801@unitedplanet.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 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
>
>

In response to

Browse pgsql-jdbc by date

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