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