Re: Java help needed. Trying to run Java from the QSHELL

Thomas Burrows <[email protected]> Fri, 8 Sep 2023 11:32:29 -0500
Newsgroups gmane.comp.lang.as400.java
Message-ID <CANFrdV_9_QNXYU_2ceoG6x+pye9iwMCAHmbgD2dXSni=oF=ebA@mail.gmail.com>
trying to make sure I have the CLASSPATH set correctly.

And not sure where the log files are going when I compile the programs.

You are at the place in BROOMFIELD, CO next to a golf course. Close to a US
Forest Service
air support airport for forest fires.

Thomas

On Fri, Sep 8, 2023 at 11:25 AM Thomas Burrows <
[email protected]> wrote:

> Thanks for the answer. Will try to call you this afternoon.
>
> On Fri, Sep 8, 2023 at 9:13 AM Jack Woehr via JAVA400-L <
> [email protected]> wrote:
>
>>    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.
>>
>
-- 
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.