JAVA on zOS.

C/C++ and Java for MVS & zOS.
Post Reply
Shalini Singh
Registered Member
Posts: 11
Joined: Fri Jan 24, 2014 2:16 pm

JAVA on zOS.

Post by Shalini Singh »

Hi

Where can I find the JAVA procedure and Load modules in mainframe. How to execute the Java program, we are using zOS 1.13.

Thanks ,
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1886
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: JAVA on zOS.

Post by Robert Sample »

Java is installed under Unix System Services (OMVS) with z/OS. Start an OMVS session (not an Ishell session) and enter whence java on the command line.
moral
New Member
Posts: 2
Joined: Wed Nov 19, 2014 12:47 pm

Re: JAVA on zOS.

Post by moral »

Shalini Singh wrote:Hi

Where can I find the JAVA procedure and Load modules in mainframe. How to execute the Java program, we are using zOS 1.13.

Thanks ,
Java on mainframe is very easy (in my opinion of course :-)).Java is installed under OMVS like wrote Robert (default: /usr/lpp/java). You can use this like on the other platforms using javac, java etc.
But this is IBM version (JZOS) and you can run your program in batch like any other programs (COBOL, C, etc.). In java you can simply use data sets, write to operator, invoke REXX scripts, submit JOB and so on.
You write your program under PC in your favorite IDE (I prefer eclipse) the update to mainframe and run (every step you can do from Eclipse). The best places to find information is:
- Start here: From zero to zHero
- IBM Java programs sample
- JZOS Cookbook - this is the great source of know about Java on mainframe

I wish you luck with your learning, the most difficult is start. If you have problems write on the forum we try help you.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “C, C++ and Java for Mainframes.”