Re: 9.1-903 JDBC 3 Download
От | Dave Cramer |
---|---|
Тема | Re: 9.1-903 JDBC 3 Download |
Дата | |
Msg-id | CADK3HHJ_bYLPrS0wa6=S=ZhQOkYs-NNwg9E+OUGETZZU7kvd0A@mail.gmail.com обсуждение исходный текст |
Ответ на | 9.1-903 JDBC 3 Download (dmp <danap@ttc-cmc.net>) |
Ответы |
Re: 9.1-903 JDBC 3 Download
|
Список | pgsql-jdbc |
It would appear that I must have built it using jdk7 Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca On Sat, Oct 20, 2012 at 7:28 PM, dmp <danap@ttc-cmc.net> wrote: > 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. > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc
В списке pgsql-jdbc по дате отправления: