Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 9D2F79F9C35 for ; Tue, 12 Dec 2006 06:15:44 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 01560-06 for ; Tue, 12 Dec 2006 06:15:33 -0400 (AST) X-Greylist: delayed 00:21:30.065253 by SQLgrey-1.7.4 Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id A77E29FA304 for ; Tue, 12 Dec 2006 06:15:33 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.3 Received: from outmail.unitedplanet.de (mail.intrexx.eu [212.185.176.178]) by svr4.postgresql.org (Postfix) with ESMTP id 7D4E75AF893 for ; Tue, 12 Dec 2006 09:54:02 +0000 (GMT) Received: from Apollo.unitedplanet.de (apollo2.unitedplanet.de [10.10.12.17]) by outmail.unitedplanet.de (Postfix) with ESMTP id 7C887CF37 for ; Tue, 12 Dec 2006 10:56:01 +0100 (CET) Received: from [10.10.15.18] ([10.10.15.18]) by Apollo.unitedplanet.de with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Dec 2006 10:53:58 +0100 Message-ID: <457E7C35.5030801@unitedplanet.de> Date: Tue, 12 Dec 2006 10:53:57 +0100 From: Martin Keller User-Agent: Thunderbird 1.5.0.8 (X11/20061113) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Exception while Class.forName("org.postgresql.Driver"); References: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il> In-Reply-To: <0BA77301DFF4B24C9C5DAA74138BF95003C7F1@exchange-1.dbnet.co.il> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Dec 2006 09:53:58.0117 (UTC) FILETIME=[71661950:01C71DD3] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.136 tagged_above=0 required=5 tests=BAYES_50, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200612/53 X-Sequence-Number: 16285 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 > >