Yep, there were significant changes in 1.5, enough so that pre 1.5 JVM's
won't run programs compiled from 1.5 on.

If you must run Java on the AS/400, look for an older compatible version
of JTOpen, which includes the JDBC driver. As James mentioned, you'll also
need to check the JDBC version provided by that version of JTOpen; later
capabilities won't be supported.

I think we went through this before, but IMO the better option, if possible, is to run Java and web/JEE servers on a separate PC or server using JTOpen for access/cooperation with the AS/400. Then you're free from constraints and can use the latest versions of everything.


Joe Sam

Joe Sam Shirah - www.conceptgo.com (904) 302-6870
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum: www.ibm.com/developerworks/java/
Just the JDBC FAQs: www.jguru.com/faq/JDBC
Going International? www.jguru.com/faq/I18N
Que Java400? www.jguru.com/faq/Java400


-----Original Message----- From: James Perkins
Sent: Tuesday, April 24, 2012 2:10 PM
To: Java Programming on and around the IBM i
Subject: Re: Java Version?

Yeah, Java 1.3 is really really old. I don't even know the date it was
EOLed. I know Java 1.4 was back in 2008, so it was probably at least 2
years before that.

Also JDBC 4 only works with Java 6 and higher. I don't think you can get
that in 5.1 though.
--
James R. Perkins


On Tue, Apr 24, 2012 at 10:53, Jeff Burcher <jeff@xxxxxxxxxxxxxxx> wrote:

Hi,



I am receiving the following Java error message on the AS400 when I try to
connect using SK's JDBCR4 JDBC_ConnProp



java.lang.UnsupportedClassVersionError: net/sourceforge/jtds/jdbc/Driver



I am currently running JDK 1.3.0 on V5R1M0. Am I just hopelessly out of
date?



Thanks,



Jeff Burcher - IT Dept

Allred Metal Stamping

PO Box 2566

High Point, NC 27261

(336)886-5221 x229

jeff@xxxxxxxxxxxxxxx



--
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 thread ...

Follow-Ups:
Replies:

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

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