Link to home
Start Free TrialLog in
Avatar of suketu9
suketu9

asked on

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

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:

RUNJVA +
          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.

Thanks
Avatar of Barry Harper
Barry Harper
Flag of Canada image

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.

Barry
ASKER CERTIFIED SOLUTION
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial