URGENT Help in AS400: How to find where java class is saved in AS400

Posted on 2006-04-28
Last Modified: 2008-02-01
I am a Java Developer. I dont know how to  use AS400. We have this router program that runs this java class. But I dont know where this java class is saved in AS400. How can I find out where would this java program be saved in AS400 since I have to recompile the code and update that program.
Following is part where java program is called:

          CLASS(com.ccfna.mobilesource.server.message.MessageHandler) PARM($PROPERTIES &SYSOUT &CONFIG)

please help me out on where to find where this messagehandler program is saved in AS400 or how does it find it. This is URGENT.

Question by:suketu9
    LVL 13

    Expert Comment

    Use the WRKLNK command to find the directory. Often the RUNJVA command has the path name listed in it as a parameter like this:
    RUNJVA  CLASS(com.ccfna.mobilesource.server.message.MessageHandler) PARM($PROPERTIES &SYSOUT &CONFIG) CLASSPATH('/MYAPP')
    The default path on the RUNJVA is *ENVVAR, which is stored in environment variable CLASSPATH. You can use the  Work with Environment Variables WRKENVVAR command to look at the environment variables.

    LVL 32

    Accepted Solution

    If you are familiar with Unix, then use qshell or pase to find your file.
    run the command QSH and start working with ls and grep.
    You don't have vi, so you will have to settle for the iseries EDTF command  


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Suggested Solutions

    Title # Comments Views Activity
    AS400 Single Sign On 3 931
    AS400 Printing 10 239
    ED710 -->  UADDMBX 10 190
    V7R2 Virtual Tape to an iASP 1 58
    After several days of searching and hunting for limited documentation, I wanted to share this guide to hopefully save someone the hassle of trying to figure this out on their own. I have tested this on Xendesktop 7.1 and PS 4.5 running simultaneous…
    Find out how to use Active Directory data for email signature management in Microsoft Exchange and Office 365.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now