Link to home
Start Free TrialLog in
Avatar of sbmahapatra
sbmahapatra

asked on

Run java application on iSeries

Hi Experts,  I am running a simple HelloWorld java program on iSeries.  I am able to run it, but I don't see any output.  It just displayes a $ sign.  How would I see the output?  Thanks in advance.
SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America 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
Avatar of sbmahapatra
sbmahapatra

ASKER

Hi Gary,
I doing exactly what you listed.  Here is the attachment.  In fact I have two classes.  1.  HelloWorld and 2. Customer.  First I started with Customer class.  When had problem, I tried HelloWorld.  Thanks a lot.

QShell-Display-Problem.doc
Only thing I can think of offhand is that something in your environment may be causing redirection of SDTOUT and/or STDERR somewhere.

Post the results from executing the QSH SET command to view your environment variable, and also post the contents of any global or personal .profile files:

While in your home directory:

CAT .profile
CAT /etc/profile

Also, if there is an environment variable called ENV declared, CAT the contents of the file that it references, too.

- Gary Patterson


ASKER CERTIFIED SOLUTION
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
Hi murphey2,  I am sorry, I could not try your solution, but will try soon.  As I tried so many things, but did not work out, so I had to give a pause to the project which is not vary important.  Thank you very much for your help.  I will check it and update you soon.