+ Reply to Thread
Results 1 to 2 of 2

Thread: CLASSPATH headache.... Help!!

  1. #1
    Guest.Visitor Guest

    Default CLASSPATH headache.... Help!!

    Hello, I'm having problems with setting my CLASSPATH on the AS/400 for my java application. My problem is that I need to use jar files for IBM toolbox, MQSeries, and XML4J. When I set the CLASSPATH environment variable I get a runtime error that it can't find the RECORD class(IBM tool box jar). Here is how I set my CLASSPATH on the AS/400: ADDENVVAR ENVVAR(CLASSPATH) VALUE('/QIBM/ProdData/HTTP/Public/jt400/lib/jt 400.jar:/QIBM/ProdData/mqm/java/lib/com.ibm.mq.jar:/QIBM/ProdData/OS400/xml/lib/xerces103:/QIBM/ProdData/mqm/java/lib') Is there something wrong with this syntax. I've tried everything including reversing the slashes, puting spaces between the colons, ect, ect, ect.. Thanks in advance for any help, Rob

  2. #2
    Guest.Visitor Guest

    Default CLASSPATH headache.... Help!!

    Hi All I am planning to call the RPG program from the Java to leverage the existing business logic. This RPG programs does lot of things but I am interested in pieces of that. I try to explore the available options and IBM tool box of Java( Calling RPG using PCML) looks quite promising to me. My concern is that I have to pass to a long list of parameters to RPG in order to send and receive parameters and eventually the *Entry will be unmanageable. Is there any other more efficient way to that? Could I use the Data Queues to communicate? If yes then how to synchronize the incoming and outgoing data. Thanks in advance for any help. I will appreciate if you could provide any code snippet or links .

+ Reply to Thread

Similar Threads

  1. Using Classpath on AS400
    By rdean400@yahoo.com in forum Java
    Replies: 2
    Last Post: 06-17-2005, 10:56 AM
  2. Another V5R2 headache!
    By David Abramowitz in forum IBM i (OS/400, i5/OS)
    Replies: 2
    Last Post: 07-21-2003, 11:36 AM
  3. Help with Classpath
    By Guest.Visitor in forum Java
    Replies: 0
    Last Post: 02-12-2002, 05:53 AM
  4. Character fields filled with Hex 0 headache
    By trevor.lazarus@ssa.gov in forum RPG
    Replies: 4
    Last Post: 01-30-2002, 09:12 AM
  5. CLASSPATH ON AS/400
    By Guest.Visitor in forum Programming
    Replies: 4
    Last Post: 11-20-2001, 04:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts