× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Thanks everyone - I really appreciate the thoughtful responses.

Justin nailed the problem. I simply found an older version of the driver, installed and walaa - It worked! (Well I at least got past this problem and quickly moved on to the next!)

Thanks again and Justin, if you are ever in the Cleveland area, your next cold one is on me.

Andy


Sent from my iPad

On Oct 17, 2013, at 9:28 AM, Gan Zhang <zhanggan@xxxxxxxxxx> wrote:

Not sure which JDK(Classic or J9) Andy's using, but something worth
clarify here:
1) -Djava.version is not used anymore for J9 JDKs. It's ready only, the
way to choose J9 JDK is JAVA_HOME.
2) Jdk 70 is only available for J9 . No classic JDK 7.0 available on IBM
i.
3) If you want using jdk70 , you can reference here for details:
http://www.ibm.com/developerworks/ibmi/techupdates/java

Best regards.
____________________________________________________________________________________________

Gavin, Zhang Gan --
https://w3-connections.ibm.com/profiles/html/profileView.do?key=d77158d7-c5cd-4e6e-a90d-23dddc9cbaba&lang=en

IBM i J9 Team Lead,
Email: zhanggan@xxxxxxxxxx
Phone: +86-10-82452719
Address: 1/F, 28, ZhongGuanCun Software Park, No.8 Dong Bei Wang West
Road, Haidian District, Beijing P.R.China 100193
J9 on i: http://www.ibm.com/developerworks/ibmi/techupdates/java



Justin Taylor <JUSTIN@xxxxxxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
10/17/2013 03:15 AM
Please respond to
Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>


To
Java Programming on and around the IBM i <java400-l@xxxxxxxxxxxx>,
cc

Subject
RE: UnsupportedClassVersionError using ScottKlement's JDBCR4






IIRC, jtds 1.3.1 requires a newer version of Java. Can you run jdk70?



-----Original Message-----
From: andy_johnson@xxxxxxxxxxxx [mailto:andy_johnson@xxxxxxxxxxxx]
Sent: Tuesday, October 15, 2013 1:48 PM
To: java400-l@xxxxxxxxxxxx
Subject: UnsupportedClassVersionError using ScottKlement's JDBCR4

First - thank you Scott for your contribution of the JDBCR4 suite!

I am getting an UnsupportedClassVersionError at the JDBC_ConnProp (drv
=
new_Driver(drivname); specifically) similar to an earlier email chain.

However in my case, JAVA *VERSION confirms I am on 1.5.0 and I also set
an
Environmental Variable in a CL prior to running the RPG program like
this:

ADDENVVAR ENVVAR(QIBM_RPG_JAVA_PROPERTIES)

VALUE('-DJAVA.VERSION=1.5;-DJAVA.AWT.HEADLESS=TRUE;-DOS400.AWT.NATIVE=TRUE;')

The .jar file I am using is jdts-1.3.1.

Any ideas on where to start?

Thanks in advance.

Andy

--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing
list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


--
This is the Java Programming on and around the IBM i (JAVA400-L) mailing list
To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.