RE: How to call Java program from AS400
Justin Taylor <[email protected]>
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <[email protected]> |
Your shell output looks like you're operating in the root (/), but you say that your code is in /rishi/firstpgm.java. Is your executable Java in /rishi/ as well? -----Original Message----- From: Rishi Seth [mailto:[email protected]] Sent: Tuesday, September 24, 2019 3:51 AM To: java400-l-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org; [email protected] Subject: Fwd: How to call Java program from AS400 ---------- Forwarded message --------- From: Rishi Seth <[email protected]> Date: Tue, Sep 24, 2019 at 10:27 AM Subject: Re: How to call Java program from AS400 To: Midrange Systems Technical Discussion <[email protected]> hi, i tried below in my directory rishi but after entering qsh and pwd and then ls firstpgm.java getting this error:- QSH Command Entry $ pwd / $ pwd / $ ls firstpgm.java ls: 001-2113 Error found getting information for object firstpgm.java. No such path or directory. $ ****************************************************************************************** Browse : /rishi/firstpgm.java Record : 1 of 8 by 14 Column : 1 59 by 79 Control : ...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.... ************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 <[email protected]> wrote: > It might help to be a little more specific. > > Here are some options: > 5250 RUNJVA > Shell java > RPG JNI > RPG *JAVA > > > > > -----Original Message----- > From: Rishi Seth [mailto:[email protected]] > Sent: Monday, September 23, 2019 8:32 AM > To: Midrange Systems Technical Discussion > <[email protected]> > Subject: How to call Java program from AS400 > > Hi, > > How to call java program from AS400? > > Thanks > > -- > This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing > list To post a message email: [email protected] To > subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/midrange-l > or email: MIDRANGE-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org > Before posting, please take a moment to review the archives at > https://archive.midrange.com/midrange-l. > > Please contact support-Zwy7GipZuJhWk0Htik3J/[email protected] for any subscription related > questions. > > Help support midrange.com by shopping at amazon.com with our affiliate > link: https://amazon.midrange.com > -- This is the Java Programming on and around the IBM i (JAVA400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request-+hD5IHI5Xscn3HwCXmMcX9BPR1lH4CV8@public.gmane.org Before posting, please take a moment to review the archives at https://archive.midrange.com/java400-l. Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com