Re: Java help needed. Trying to run Java from the QSHELL
Jack Woehr via JAVA400-L <[email protected]> Fri, 8 Sep 2023 08:12:37 -0600
| Newsgroups | gmane.comp.lang.as400.java |
|---|---|
| Message-ID | <CA+4w2KCJJJvkm1=NZmLQemQw2SdUv=9tmZqr_HZYCWFmEb1HqQ@mail.gmail.com> |
1. In PASE, *yum install openjdk-11*
2. Assuming your program myprogram.java is in the IFS in your home
directory *javac myprogram.java*
3. From PASE (e.g., logged in via SSH or *gack!* via QP2TERM (*no! no!
no!*) do *java myprogram*
4. From a CL, do *QSH CMD("java myprogram")*
On Thu, Sep 7, 2023 at 10:26 PM Thomas Burrows <
[email protected]> wrote:
> Having some issues trying to run Java from QSHELL.
>
> Anyone out there that is trying to do Java on the IBM iSeries.
>
For extra credit, remember that the iSeries was discontinued around 2010
and the operating system is virtualized on Power servers and called "IBM i"
nowadays.
--
*JACK WOEHR, IBM Champion 2021-2023
<https://www.credly.com/users/jack-woehr/badges>*
*SENIOR IBM i ENGINEER*
303.847.8442
[email protected]
<https://www.linkedin.com/in/jackwoehr/> stay connected
<https://www.linkedin.com/company/absolute-performance-inc./>
<https://www.absolute-performance.com/>
www.absolute-performance.com
NON-DISCLOSURE NOTICE: This communication including any and all
attachments is for the intended recipient(s) only and may contain
confidential and privileged information. If you are not the intended
recipient of this communication, any disclosure, copying further
distribution or use of this communication is prohibited. If you received
this communication in error, please contact the sender and
delete/destroy all copies of this communication immediately.
--
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: [email protected]
Before posting, please take a moment to review the archives
at https://archive.midrange.com/java400-l.