Your shell output looks like you're operating in the root (/), but you say that your code is in /rishi/ Is your executable Java in /rishi/ as well?

-----Original Message-----
From: Rishi Seth [mailto:rishiseth99@xxxxxxxxx]
Sent: Tuesday, September 24, 2019 3:51 AM
To: java400-l-request@xxxxxxxxxxxxxxxxxx; java400-l@xxxxxxxxxxxxxxxxxx
Subject: Fwd: How to call Java program from AS400

---------- Forwarded message ---------
From: Rishi Seth <rishiseth99@xxxxxxxxx>
Date: Tue, Sep 24, 2019 at 10:27 AM
Subject: Re: How to call Java program from AS400
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>

hi, i tried below in my directory rishi

but after entering qsh and pwd and then ls

getting this error:-

QSH Command Entry









ls: 001-2113 Error found getting information for object No such path or directory.


Browse : /rishi/

Record : 1 of 8 by 14 Column : 1 59 by 79

Control :

************Beginning of data**************

public class firstpgm


public static void main { string[] args }


System.out.println("Hello World..");



************End of Data********************

On Mon, Sep 23, 2019 at 4:15 PM Justin Taylor <JUSTIN@xxxxxxxxxxxxx> wrote:

It might help to be a little more specific.

Here are some options:
Shell java

-----Original Message-----
From: Rishi Seth [mailto:rishiseth99@xxxxxxxxx]
Sent: Monday, September 23, 2019 8:32 AM
To: Midrange Systems Technical Discussion
Subject: How to call Java program from AS400


How to call java program from AS400?


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To
subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at

Please contact support@xxxxxxxxxxxx for any subscription related

Help support by shopping at with our affiliate

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-2022 by 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.