Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 4BDF89F9F46 for ; Tue, 12 Dec 2006 05:29:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 24234-01 for ; Tue, 12 Dec 2006 05:29:13 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from mail.mnc.ch (62-2-77-205.static.cablecom.ch [62.2.77.205]) by postgresql.org (Postfix) with ESMTP id 34F9F9F9EED for ; Tue, 12 Dec 2006 05:29:16 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by mail.mnc.ch (Postfix) with ESMTP id C6A22A82ED; Tue, 12 Dec 2006 10:29:14 +0100 (CET) Received: from mail.mnc.ch ([127.0.0.1]) by localhost (mail.test.lan [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 19331-02; Tue, 12 Dec 2006 10:29:12 +0100 (CET) Received: from meuh.mnc.lan (62-2-77-204.static.cablecom.ch [62.2.77.204]) by mail.mnc.ch (Postfix) with ESMTP id 2D000A829A; Tue, 12 Dec 2006 10:29:12 +0100 (CET) Received: by meuh.mnc.lan (Postfix, from userid 1000) id 817161836D4; Tue, 12 Dec 2006 10:28:45 +0100 (CET) To: "Doron Baranes" Cc: Subject: Re: Exception while Class.forName("org.postgresql.Driver"); References: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il> X-Hashcash: 1:20:061212:doron.baranes@dbnet.co.il::CmF6IRvzvfgmNn2c:0000000000000000000000000000000000006ppm X-Hashcash: 1:20:061212:pgsql-jdbc@postgresql.org::zpA4+T6GrZ2OXP2R:0000000000000000000000000000000000002mwE From: Guillaume Cottenceau Date: 12 Dec 2006 10:28:45 +0100 In-Reply-To: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il> Message-ID: <878xhdqx82.fsf@meuh.mnc.lan> Lines: 18 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at mnc.ch X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/51 X-Sequence-Number: 16283 "Doron Baranes" 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@ws.apache.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