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

From: Guillaume Cottenceau <gc(at)mnc(dot)ch>
To: "Doron Baranes" <doron(dot)baranes(at)dbnet(dot)co(dot)il>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Exception while Class.forName("org.postgresql.Driver");
Date: 2006-12-12 09:28:45
Message-ID: 878xhdqx82.fsf@meuh.mnc.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

"Doron Baranes" <doron.baranes 'at' dbnet.co.il> writes:

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

Come on, the net is loaded with matches for such an error..

If you don't already know google (you should, it's great), here's
one good response:

http://www.mail-archive.com/jaxme-dev(at)ws(dot)apache(dot)org/msg01048.html

--
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Heikki Linnakangas 2006-12-12 09:29:47 Re: Exception while Class.forName("org.postgresql.Driver");
Previous Message Ravi Periasamy 2006-12-12 09:15:20 issues with Statement.getTimestamp(int, Calendar)