I found that I am working again IF I put the origional, old jar
(jtds-1.2.5.jar) back into the /QIBM/UserData/Java400/ext/ folder??????????

On Tue, Sep 29, 2015 at 10:33 AM, Gerald Magnuson <
gmagqcy.midrange@xxxxxxxxx> wrote:

thanks Scott...

I get a java console screen...

Exception in thread "main" java.lang.UnsupportedClassVersionError:
bad major version; class=net/sourceforge/jtds/jdbc/Driver offset=6
....... other stuff.......

I am in debug, and this occurs when I return from new_Driver procedure...

On Tue, Sep 29, 2015 at 10:24 AM, Scott Klement <
midrange-l@xxxxxxxxxxxxxxxx> wrote:

Hi Gerald,

What you've posted looks like the normal/correct behavior (Java does not
use EBCDIC, so the class name is in ASCII). What sort of problems are you

Please provide the specific error message. (If you just say "it doesn't
work" that doesn't give me enough info to help you.)


On 9/29/2015 9:37 AM, Gerald Magnuson wrote:

I changed my classpath away from the "/QIBM/UserData/Java400/ext/'

I am working fine with the mySQL driver...

however the MS SQL driver (from sourceforge) is not working, and now the
old one is not working either...

I am having trouble at this point:

in the new_driver procedure:

drv_name = %xlate('.': '/': driver_name);
QDCXLATE(%len(drv_name): drv_fixed: 'QTCPASC');

cls = FindClass(env: drv_name);

drv_name looks ok ( net/sourceforge/jtds/jdbc/Driver) BEFORE the

but after....


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2022 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.