When I'm trying to compile my Java program with "import com.ibm.db2.access.*;" compiler hangs up any errors, for example: "package com.ibm... and so on doesn't exist" despite that I've put jt400.jar on CLASSPATH on autoexec.bat on my PC. Any clues?


There are some prerequisites to creating Java programs on your PC that access the AS/400 using JDBC. The CLASSPATH and the installation of the jt400.jar file on your PC should be updated properly when you install the AS/400 Java Toolbox. Click here for assistance for Java Development on the AS/400.


This was first published in April 2001