On my z/OS 1.6 system, there is a file HelloWorld.class in
/usr/lpp/jdk140/normal-J1.4/

to run it, use the TSO OMVS command. When you get a prompt, enter:

java /usr/lpp/jdk140/normal-J1.4/HelloWorld.class

This was the oldest JDK that I could find on my system. I also have the
HelloWorld.class in:

/usr/lpp/jdk142/J1.4/
/usr/lpp/jdk150/J5.0_64/

So I guess it comes with the JDK.

Oh, the above assumes that you have the PATH and JAVA_HOME environment
variables set up correctly. If they are not, then assuming the first
path to your JDK is correct, then enter the commands:

export PATH=$PATH:/usr/lpp/jdk140/normal-J1.4/bin
export JAVA_HOME=/usr/lpp/jdk140/normal-J1.4/

Then do the "java" command. In my system, I have the equivalent of those
commands in:
/etc/profile

which is automatically used (sourced in UNIX terminology) when the
/bin/sh (UNIX shell) is started as a "login" shell (as the TSO OMVS
command does).

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to