Did not get Hello world to run

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Did not get Hello world to run

ChrisyLe
Hi
I am an experienced MF and Rexx programmer.
I want to learn NETREXX
but need some help to get my first program "Hello World"  to run.
May I report here what I did so far to see if I have installed correctly
1.  I download Netrexx === seem OK about  746,000 to A drive
 2.  I have JDK1.2.1 on my D drive.  So I PKUNZIP on the directrory
JDK1.2.1 as follows:
PKUNZIP -d  A:\NETREXX.ZIP
3.  TABLETS and NRPING still in Zip form
so I PKUNZIP these
there are some warning about  file already there but I replace them when
prompted
4. I go to the root JDK1.2.1
and wrote a hello program
but when I enter the posted command

Java COM.IBM.NETREXXC hello
It said bad command.
Please help.
This instructions for installation is confusing
I thought it is just CLICK here as Microsoft is asking new  person.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Did not get Hello world to run

K.-P. Kirchdoerfer
On Fri, 10 Dec 1999 22:58:59 EST, [hidden email] wrote:

>JDK1.2.1 as follows:
>PKUNZIP -d  A:\NETREXX.ZIP
>3.  TABLETS and NRPING still in Zip form
>so I PKUNZIP these
>there are some warning about  file already there but I replace them when
>prompted

This works on 1.1.x; there might differences with 1.2...

Unzip nrtools.zip in the JDK root;
Add NetRexxC.zip to your classpath;
run from jdk/bin nrc.bat hello.nrx.


>4. I go to the root JDK1.2.1
>and wrote a hello program
>but when I enter the posted command
>
>Java COM.IBM.NETREXXC hello
>It said bad command.

Seems that java.exe is not in path.
Anyway java is case-sensitiv.

If you won't use nrc.bat try
java COM.ibm.netrexx.process.NetRexxC hello.nrx

kp
--
K.P.Kirchdoerfer                      Voice:   +49 431 15479
24116 Kiel                            E-Mail: [hidden email]

The Mission Is Terminated (TG 1982)



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>