Hi,

We are running a 9406-270 and are stuck with V5R1M0 and JDK 1.3.0 is the
highest you can load on it. This is going to be a short term solution, 6
months to a year, until we upgrade to a new AS400. The calls will be coming
from an RPG program to grab data from a SQL server on our network. I have
used SK's JDBCR4 before with great success and didn't want to spend a lot of
time learning something new since I already have most of the code written in
previous programs. I guess I'll use something quick and easy, like Microsoft
Query, and then dump it onto the AS400 manually for now.


Thanks,

Jeff Burcher - IT Dept
Allred Metal Stamping
PO Box 2566
High Point, NC 27261
(336)886-5221 x229
jeff@xxxxxxxxxxxxxxx

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-
bounces@xxxxxxxxxxxx] On Behalf Of Joe Sam Shirah
Sent: Tuesday, April 24, 2012 2:46 PM
To: Java Programming on and around the IBM i
Subject: Re: Java Version?


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




This thread ...

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