× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RE: Starting out question.
  • From: Don Strickland <dstrickland@xxxxxxx>
  • Date: Thu, 22 Jun 2000 15:38:09 -0700

Title: RE: Starting out question.

This is a pretty common problem, one discussed many times here.  One discussion was very useful.  I am copying the replys from Wanda Cummings and David Wall into this note.  Hope it helps.

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

i had the same problem, i got this answer, and it worked.


>> CLASSPATH=/QIBM/ProdData/Java400/lib/jdkptf.zip:
>> /QIBM/ProdData/Java400/lib/java.zip:
>> /QIBM/ProdData/Java400/lib/sun.zip:
>> /QIBM/ProdData/Java400/com/ibm/db2/jdbc/app/db2_classes.zip:
>> /QIBM/ProdData/Java400/:
>> /myjava

Your classpath does not include the Toolbox access classes.  Add
"/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar" to your classpath
and you should be set.  There are a couple of ways to do this.  In
your example you use the -classpath parm of the Java command.  You
can change that to
   "java -classpath /myjava:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar
ShowMeClas"
or setup up the CLASSPATH environment variable once in QSHELL by entering
command
"export -s CLASSPATH=
/myjava:/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar"


Since you talk about QSHELL you must be running on the AS/400.  Make sure
the Toolbox container you use (jt400.jar or jt400Access.zip) has an
associated
Java program.
This will make java programs run much faster.
CRTJVAPGM CLSF('/QIBM/ProdData/HTTP/Public/jt400/lib/jt400.jar') OPTIMIZE
 (30)


David Wall
AS/400 Toolbox for Java



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