This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Java in General and the fly likes Java and AS400 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Java and AS400" Watch "Java and AS400" New topic

Java and AS400

Sahil Sharma
Ranch Hand

Joined: Aug 27, 2003
Posts: 152

I am using jt400.jar (for connecting to AS400 machine) for the first time.Currently, I don't have access to AS400 machine.
So I need to know whether their are any simulators available for AS400, which I can install on my machine and learn to work with jt400.jar.

Another thing can I connect to Windows 2003 server thru this jar ? . Our DB2 is installed on that machine.

Luis Colorado

Joined: Feb 01, 2005
Posts: 2

I would be very happy to say that yes, there is an as/400 emulator you can connect to, but, unfortunately, it is not the case. There have been some attempts to emulate the as/400, but rather to run legacy RPG or COBOL code.

My advice would be to get access to a public as/400 on the Internet. I connect to, which charges a reasonable fee of about 20 dollars per month... I find that very reasonable, considering that the smallest as/400 costs around $10K dollars.

Regarding to your second question, no, it is not possible to use a Windows machine with DB2 to use jt400.jar. That library was developed to connect to the as/400 and its resources, including DB2. It was not developed as a way to connect to DB2 servers in general.

I hope this helps,

With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Java and AS400
Similar Threads
Where is javac
IBM toolbox for JAVA
java -classpath