Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group