From: dmp <danap@ttc-cmc.net>
To: PostgreSQL JDBC <pgsql-jdbc@postgresql.org>
Subject: 9.1-903 JDBC 3 Download
Date: Sat, 20 Oct 2012 17:28:10 -0600
Message-ID: <5083338A.4060708@ttc-cmc.net> (raw)
Today I downloaded the postgresql-9.1-903.jdbc3.jar from the website,
http://jdbc.postgresql.org/download/postgresql-9.1-903.jdbc3.jar. The
jar once installed in replace of the older version crashed the app.
on Class.forName(org.postgresql.Driver).
Exception in thread "AWT-EventQueue-0" java.lang.UnsupportedClassVersionError:
org/postgresql/Driver : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
Upon returning to the older version, 9.1-901.jdbc3 or use of the 9.1-903.jdbc4
version the app properly loads the driver as expected. Could someone on the
list please validate that the 9.1-903.jdbc3.jar from the project's website
possibly gives similar results when used.
danap.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: danap@ttc-cmc.net
Subject: Re: 9.1-903 JDBC 3 Download
In-Reply-To: <5083338A.4060708@ttc-cmc.net>
References: <5083338A.4060708@ttc-cmc.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox